Constants
DataAccessControlService_CreateDataAccessLabel_FullMethodName, DataAccessControlService_GetDataAccessLabel_FullMethodName, DataAccessControlService_ListDataAccessLabels_FullMethodName, DataAccessControlService_UpdateDataAccessLabel_FullMethodName, DataAccessControlService_DeleteDataAccessLabel_FullMethodName, DataAccessControlService_CreateDataAccessScope_FullMethodName, DataAccessControlService_GetDataAccessScope_FullMethodName, DataAccessControlService_ListDataAccessScopes_FullMethodName, DataAccessControlService_UpdateDataAccessScope_FullMethodName, DataAccessControlService_DeleteDataAccessScope_FullMethodName
const (
DataAccessControlService_CreateDataAccessLabel_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/CreateDataAccessLabel"
DataAccessControlService_GetDataAccessLabel_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/GetDataAccessLabel"
DataAccessControlService_ListDataAccessLabels_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/ListDataAccessLabels"
DataAccessControlService_UpdateDataAccessLabel_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/UpdateDataAccessLabel"
DataAccessControlService_DeleteDataAccessLabel_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/DeleteDataAccessLabel"
DataAccessControlService_CreateDataAccessScope_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/CreateDataAccessScope"
DataAccessControlService_GetDataAccessScope_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/GetDataAccessScope"
DataAccessControlService_ListDataAccessScopes_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/ListDataAccessScopes"
DataAccessControlService_UpdateDataAccessScope_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/UpdateDataAccessScope"
DataAccessControlService_DeleteDataAccessScope_FullMethodName = "/google.cloud.chronicle.v1.DataAccessControlService/DeleteDataAccessScope"
)EntityService_GetWatchlist_FullMethodName, EntityService_ListWatchlists_FullMethodName, EntityService_CreateWatchlist_FullMethodName, EntityService_UpdateWatchlist_FullMethodName, EntityService_DeleteWatchlist_FullMethodName
const (
EntityService_GetWatchlist_FullMethodName = "/google.cloud.chronicle.v1.EntityService/GetWatchlist"
EntityService_ListWatchlists_FullMethodName = "/google.cloud.chronicle.v1.EntityService/ListWatchlists"
EntityService_CreateWatchlist_FullMethodName = "/google.cloud.chronicle.v1.EntityService/CreateWatchlist"
EntityService_UpdateWatchlist_FullMethodName = "/google.cloud.chronicle.v1.EntityService/UpdateWatchlist"
EntityService_DeleteWatchlist_FullMethodName = "/google.cloud.chronicle.v1.EntityService/DeleteWatchlist"
)ReferenceListService_GetReferenceList_FullMethodName, ReferenceListService_ListReferenceLists_FullMethodName, ReferenceListService_CreateReferenceList_FullMethodName, ReferenceListService_UpdateReferenceList_FullMethodName
const (
ReferenceListService_GetReferenceList_FullMethodName = "/google.cloud.chronicle.v1.ReferenceListService/GetReferenceList"
ReferenceListService_ListReferenceLists_FullMethodName = "/google.cloud.chronicle.v1.ReferenceListService/ListReferenceLists"
ReferenceListService_CreateReferenceList_FullMethodName = "/google.cloud.chronicle.v1.ReferenceListService/CreateReferenceList"
ReferenceListService_UpdateReferenceList_FullMethodName = "/google.cloud.chronicle.v1.ReferenceListService/UpdateReferenceList"
)RuleService_CreateRule_FullMethodName, RuleService_GetRule_FullMethodName, RuleService_ListRules_FullMethodName, RuleService_UpdateRule_FullMethodName, RuleService_DeleteRule_FullMethodName, RuleService_ListRuleRevisions_FullMethodName, RuleService_CreateRetrohunt_FullMethodName, RuleService_GetRetrohunt_FullMethodName, RuleService_ListRetrohunts_FullMethodName, RuleService_GetRuleDeployment_FullMethodName, RuleService_ListRuleDeployments_FullMethodName, RuleService_UpdateRuleDeployment_FullMethodName
const (
RuleService_CreateRule_FullMethodName = "/google.cloud.chronicle.v1.RuleService/CreateRule"
RuleService_GetRule_FullMethodName = "/google.cloud.chronicle.v1.RuleService/GetRule"
RuleService_ListRules_FullMethodName = "/google.cloud.chronicle.v1.RuleService/ListRules"
RuleService_UpdateRule_FullMethodName = "/google.cloud.chronicle.v1.RuleService/UpdateRule"
RuleService_DeleteRule_FullMethodName = "/google.cloud.chronicle.v1.RuleService/DeleteRule"
RuleService_ListRuleRevisions_FullMethodName = "/google.cloud.chronicle.v1.RuleService/ListRuleRevisions"
RuleService_CreateRetrohunt_FullMethodName = "/google.cloud.chronicle.v1.RuleService/CreateRetrohunt"
RuleService_GetRetrohunt_FullMethodName = "/google.cloud.chronicle.v1.RuleService/GetRetrohunt"
RuleService_ListRetrohunts_FullMethodName = "/google.cloud.chronicle.v1.RuleService/ListRetrohunts"
RuleService_GetRuleDeployment_FullMethodName = "/google.cloud.chronicle.v1.RuleService/GetRuleDeployment"
RuleService_ListRuleDeployments_FullMethodName = "/google.cloud.chronicle.v1.RuleService/ListRuleDeployments"
RuleService_UpdateRuleDeployment_FullMethodName = "/google.cloud.chronicle.v1.RuleService/UpdateRuleDeployment"
)InstanceService_GetInstance_FullMethodName
const (
InstanceService_GetInstance_FullMethodName = "/google.cloud.chronicle.v1.InstanceService/GetInstance"
)Variables
ReferenceListSyntaxType_name, ReferenceListSyntaxType_value
var (
ReferenceListSyntaxType_name = map[int32]string{
0: "REFERENCE_LIST_SYNTAX_TYPE_UNSPECIFIED",
1: "REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING",
2: "REFERENCE_LIST_SYNTAX_TYPE_REGEX",
3: "REFERENCE_LIST_SYNTAX_TYPE_CIDR",
}
ReferenceListSyntaxType_value = map[string]int32{
"REFERENCE_LIST_SYNTAX_TYPE_UNSPECIFIED": 0,
"REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING": 1,
"REFERENCE_LIST_SYNTAX_TYPE_REGEX": 2,
"REFERENCE_LIST_SYNTAX_TYPE_CIDR": 3,
}
)Enum value maps for ReferenceListSyntaxType.
ReferenceListView_name, ReferenceListView_value
var (
ReferenceListView_name = map[int32]string{
0: "REFERENCE_LIST_VIEW_UNSPECIFIED",
1: "REFERENCE_LIST_VIEW_BASIC",
2: "REFERENCE_LIST_VIEW_FULL",
}
ReferenceListView_value = map[string]int32{
"REFERENCE_LIST_VIEW_UNSPECIFIED": 0,
"REFERENCE_LIST_VIEW_BASIC": 1,
"REFERENCE_LIST_VIEW_FULL": 2,
}
)Enum value maps for ReferenceListView.
RunFrequency_name, RunFrequency_value
var (
RunFrequency_name = map[int32]string{
0: "RUN_FREQUENCY_UNSPECIFIED",
1: "LIVE",
2: "HOURLY",
3: "DAILY",
}
RunFrequency_value = map[string]int32{
"RUN_FREQUENCY_UNSPECIFIED": 0,
"LIVE": 1,
"HOURLY": 2,
"DAILY": 3,
}
)Enum value maps for RunFrequency.
RuleType_name, RuleType_value
var (
RuleType_name = map[int32]string{
0: "RULE_TYPE_UNSPECIFIED",
1: "SINGLE_EVENT",
2: "MULTI_EVENT",
}
RuleType_value = map[string]int32{
"RULE_TYPE_UNSPECIFIED": 0,
"SINGLE_EVENT": 1,
"MULTI_EVENT": 2,
}
)Enum value maps for RuleType.
RuleView_name, RuleView_value
var (
RuleView_name = map[int32]string{
0: "RULE_VIEW_UNSPECIFIED",
1: "BASIC",
2: "FULL",
3: "REVISION_METADATA_ONLY",
}
RuleView_value = map[string]int32{
"RULE_VIEW_UNSPECIFIED": 0,
"BASIC": 1,
"FULL": 2,
"REVISION_METADATA_ONLY": 3,
}
)Enum value maps for RuleView.
Rule_CompilationState_name, Rule_CompilationState_value
var (
Rule_CompilationState_name = map[int32]string{
0: "COMPILATION_STATE_UNSPECIFIED",
1: "SUCCEEDED",
2: "FAILED",
}
Rule_CompilationState_value = map[string]int32{
"COMPILATION_STATE_UNSPECIFIED": 0,
"SUCCEEDED": 1,
"FAILED": 2,
}
)Enum value maps for Rule_CompilationState.
RuleDeployment_ExecutionState_name, RuleDeployment_ExecutionState_value
var (
RuleDeployment_ExecutionState_name = map[int32]string{
0: "EXECUTION_STATE_UNSPECIFIED",
1: "DEFAULT",
2: "LIMITED",
3: "PAUSED",
}
RuleDeployment_ExecutionState_value = map[string]int32{
"EXECUTION_STATE_UNSPECIFIED": 0,
"DEFAULT": 1,
"LIMITED": 2,
"PAUSED": 3,
}
)Enum value maps for RuleDeployment_ExecutionState.
Retrohunt_State_name, Retrohunt_State_value
var (
Retrohunt_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "RUNNING",
2: "DONE",
3: "CANCELLED",
4: "FAILED",
}
Retrohunt_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"RUNNING": 1,
"DONE": 2,
"CANCELLED": 3,
"FAILED": 4,
}
)Enum value maps for Retrohunt_State.
CompilationDiagnostic_Severity_name, CompilationDiagnostic_Severity_value
var (
CompilationDiagnostic_Severity_name = map[int32]string{
0: "SEVERITY_UNSPECIFIED",
1: "WARNING",
2: "ERROR",
}
CompilationDiagnostic_Severity_value = map[string]int32{
"SEVERITY_UNSPECIFIED": 0,
"WARNING": 1,
"ERROR": 2,
}
)Enum value maps for CompilationDiagnostic_Severity.
DataAccessControlService_ServiceDesc
var DataAccessControlService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.chronicle.v1.DataAccessControlService",
HandlerType: (*DataAccessControlServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateDataAccessLabel",
Handler: _DataAccessControlService_CreateDataAccessLabel_Handler,
},
{
MethodName: "GetDataAccessLabel",
Handler: _DataAccessControlService_GetDataAccessLabel_Handler,
},
{
MethodName: "ListDataAccessLabels",
Handler: _DataAccessControlService_ListDataAccessLabels_Handler,
},
{
MethodName: "UpdateDataAccessLabel",
Handler: _DataAccessControlService_UpdateDataAccessLabel_Handler,
},
{
MethodName: "DeleteDataAccessLabel",
Handler: _DataAccessControlService_DeleteDataAccessLabel_Handler,
},
{
MethodName: "CreateDataAccessScope",
Handler: _DataAccessControlService_CreateDataAccessScope_Handler,
},
{
MethodName: "GetDataAccessScope",
Handler: _DataAccessControlService_GetDataAccessScope_Handler,
},
{
MethodName: "ListDataAccessScopes",
Handler: _DataAccessControlService_ListDataAccessScopes_Handler,
},
{
MethodName: "UpdateDataAccessScope",
Handler: _DataAccessControlService_UpdateDataAccessScope_Handler,
},
{
MethodName: "DeleteDataAccessScope",
Handler: _DataAccessControlService_DeleteDataAccessScope_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/chronicle/v1/data_access_control.proto",
}DataAccessControlService_ServiceDesc is the grpc.ServiceDesc for DataAccessControlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
EntityService_ServiceDesc
var EntityService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.chronicle.v1.EntityService",
HandlerType: (*EntityServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetWatchlist",
Handler: _EntityService_GetWatchlist_Handler,
},
{
MethodName: "ListWatchlists",
Handler: _EntityService_ListWatchlists_Handler,
},
{
MethodName: "CreateWatchlist",
Handler: _EntityService_CreateWatchlist_Handler,
},
{
MethodName: "UpdateWatchlist",
Handler: _EntityService_UpdateWatchlist_Handler,
},
{
MethodName: "DeleteWatchlist",
Handler: _EntityService_DeleteWatchlist_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/chronicle/v1/entity.proto",
}EntityService_ServiceDesc is the grpc.ServiceDesc for EntityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_chronicle_v1_data_access_control_proto
var File_google_cloud_chronicle_v1_data_access_control_proto protoreflect.FileDescriptorFile_google_cloud_chronicle_v1_entity_proto
var File_google_cloud_chronicle_v1_entity_proto protoreflect.FileDescriptorFile_google_cloud_chronicle_v1_instance_proto
var File_google_cloud_chronicle_v1_instance_proto protoreflect.FileDescriptorFile_google_cloud_chronicle_v1_reference_list_proto
var File_google_cloud_chronicle_v1_reference_list_proto protoreflect.FileDescriptorFile_google_cloud_chronicle_v1_rule_proto
var File_google_cloud_chronicle_v1_rule_proto protoreflect.FileDescriptorInstanceService_ServiceDesc
var InstanceService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.chronicle.v1.InstanceService",
HandlerType: (*InstanceServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetInstance",
Handler: _InstanceService_GetInstance_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/chronicle/v1/instance.proto",
}InstanceService_ServiceDesc is the grpc.ServiceDesc for InstanceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
ReferenceListService_ServiceDesc
var ReferenceListService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.chronicle.v1.ReferenceListService",
HandlerType: (*ReferenceListServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetReferenceList",
Handler: _ReferenceListService_GetReferenceList_Handler,
},
{
MethodName: "ListReferenceLists",
Handler: _ReferenceListService_ListReferenceLists_Handler,
},
{
MethodName: "CreateReferenceList",
Handler: _ReferenceListService_CreateReferenceList_Handler,
},
{
MethodName: "UpdateReferenceList",
Handler: _ReferenceListService_UpdateReferenceList_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/chronicle/v1/reference_list.proto",
}ReferenceListService_ServiceDesc is the grpc.ServiceDesc for ReferenceListService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
RuleService_ServiceDesc
var RuleService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.chronicle.v1.RuleService",
HandlerType: (*RuleServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateRule",
Handler: _RuleService_CreateRule_Handler,
},
{
MethodName: "GetRule",
Handler: _RuleService_GetRule_Handler,
},
{
MethodName: "ListRules",
Handler: _RuleService_ListRules_Handler,
},
{
MethodName: "UpdateRule",
Handler: _RuleService_UpdateRule_Handler,
},
{
MethodName: "DeleteRule",
Handler: _RuleService_DeleteRule_Handler,
},
{
MethodName: "ListRuleRevisions",
Handler: _RuleService_ListRuleRevisions_Handler,
},
{
MethodName: "CreateRetrohunt",
Handler: _RuleService_CreateRetrohunt_Handler,
},
{
MethodName: "GetRetrohunt",
Handler: _RuleService_GetRetrohunt_Handler,
},
{
MethodName: "ListRetrohunts",
Handler: _RuleService_ListRetrohunts_Handler,
},
{
MethodName: "GetRuleDeployment",
Handler: _RuleService_GetRuleDeployment_Handler,
},
{
MethodName: "ListRuleDeployments",
Handler: _RuleService_ListRuleDeployments_Handler,
},
{
MethodName: "UpdateRuleDeployment",
Handler: _RuleService_UpdateRuleDeployment_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/chronicle/v1/rule.proto",
}RuleService_ServiceDesc is the grpc.ServiceDesc for RuleService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterDataAccessControlServiceServer
func RegisterDataAccessControlServiceServer(s grpc.ServiceRegistrar, srv DataAccessControlServiceServer)func RegisterEntityServiceServer
func RegisterEntityServiceServer(s grpc.ServiceRegistrar, srv EntityServiceServer)func RegisterInstanceServiceServer
func RegisterInstanceServiceServer(s grpc.ServiceRegistrar, srv InstanceServiceServer)func RegisterReferenceListServiceServer
func RegisterReferenceListServiceServer(s grpc.ServiceRegistrar, srv ReferenceListServiceServer)func RegisterRuleServiceServer
func RegisterRuleServiceServer(s grpc.ServiceRegistrar, srv RuleServiceServer)CompilationDiagnostic
type CompilationDiagnostic struct {
// Output only. The diagnostic message.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Output only. The approximate position in the rule text associated with the
// compilation diagnostic.
// Compilation Position may be empty.
Position *CompilationPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
// Output only. The severity of a rule's compilation diagnostic.
Severity CompilationDiagnostic_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.cloud.chronicle.v1.CompilationDiagnostic_Severity" json:"severity,omitempty"`
// Output only. Link to documentation that describes a diagnostic in more
// detail.
Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}CompilationDiagnostic represents a compilation diagnostic generated during a rule's compilation, such as a compilation error or a compilation warning.
func (*CompilationDiagnostic) Descriptor
func (*CompilationDiagnostic) Descriptor() ([]byte, []int)Deprecated: Use CompilationDiagnostic.ProtoReflect.Descriptor instead.
func (*CompilationDiagnostic) GetMessage
func (x *CompilationDiagnostic) GetMessage() stringfunc (*CompilationDiagnostic) GetPosition
func (x *CompilationDiagnostic) GetPosition() *CompilationPositionfunc (*CompilationDiagnostic) GetSeverity
func (x *CompilationDiagnostic) GetSeverity() CompilationDiagnostic_Severityfunc (*CompilationDiagnostic) GetUri
func (x *CompilationDiagnostic) GetUri() stringfunc (*CompilationDiagnostic) ProtoMessage
func (*CompilationDiagnostic) ProtoMessage()func (*CompilationDiagnostic) ProtoReflect
func (x *CompilationDiagnostic) ProtoReflect() protoreflect.Messagefunc (*CompilationDiagnostic) Reset
func (x *CompilationDiagnostic) Reset()func (*CompilationDiagnostic) String
func (x *CompilationDiagnostic) String() stringCompilationDiagnostic_Severity
type CompilationDiagnostic_Severity int32The severity level of the compilation diagnostic.
CompilationDiagnostic_SEVERITY_UNSPECIFIED, CompilationDiagnostic_WARNING, CompilationDiagnostic_ERROR
const (
// An unspecified severity level.
CompilationDiagnostic_SEVERITY_UNSPECIFIED CompilationDiagnostic_Severity = 0
// A compilation warning.
CompilationDiagnostic_WARNING CompilationDiagnostic_Severity = 1
// A compilation error.
CompilationDiagnostic_ERROR CompilationDiagnostic_Severity = 2
)func (CompilationDiagnostic_Severity) Descriptor
func (CompilationDiagnostic_Severity) Descriptor() protoreflect.EnumDescriptorfunc (CompilationDiagnostic_Severity) Enum
func (x CompilationDiagnostic_Severity) Enum() *CompilationDiagnostic_Severityfunc (CompilationDiagnostic_Severity) EnumDescriptor
func (CompilationDiagnostic_Severity) EnumDescriptor() ([]byte, []int)Deprecated: Use CompilationDiagnostic_Severity.Descriptor instead.
func (CompilationDiagnostic_Severity) Number
func (x CompilationDiagnostic_Severity) Number() protoreflect.EnumNumberfunc (CompilationDiagnostic_Severity) String
func (x CompilationDiagnostic_Severity) String() stringfunc (CompilationDiagnostic_Severity) Type
func (CompilationDiagnostic_Severity) Type() protoreflect.EnumTypeCompilationPosition
type CompilationPosition struct {
// Output only. Start line number, beginning at 1.
StartLine int32 `protobuf:"varint,1,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"`
// Output only. Start column number, beginning at 1.
StartColumn int32 `protobuf:"varint,2,opt,name=start_column,json=startColumn,proto3" json:"start_column,omitempty"`
// Output only. End line number, beginning at 1.
EndLine int32 `protobuf:"varint,3,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
// Output only. End column number, beginning at 1.
EndColumn int32 `protobuf:"varint,4,opt,name=end_column,json=endColumn,proto3" json:"end_column,omitempty"`
// contains filtered or unexported fields
}CompilationPosition represents the location of a compilation diagnostic in rule text.
func (*CompilationPosition) Descriptor
func (*CompilationPosition) Descriptor() ([]byte, []int)Deprecated: Use CompilationPosition.ProtoReflect.Descriptor instead.
func (*CompilationPosition) GetEndColumn
func (x *CompilationPosition) GetEndColumn() int32func (*CompilationPosition) GetEndLine
func (x *CompilationPosition) GetEndLine() int32func (*CompilationPosition) GetStartColumn
func (x *CompilationPosition) GetStartColumn() int32func (*CompilationPosition) GetStartLine
func (x *CompilationPosition) GetStartLine() int32func (*CompilationPosition) ProtoMessage
func (*CompilationPosition) ProtoMessage()func (*CompilationPosition) ProtoReflect
func (x *CompilationPosition) ProtoReflect() protoreflect.Messagefunc (*CompilationPosition) Reset
func (x *CompilationPosition) Reset()func (*CompilationPosition) String
func (x *CompilationPosition) String() stringCreateDataAccessLabelRequest
type CreateDataAccessLabelRequest struct {
// Required. The parent resource where this Data Access Label will be created.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Data access label to create.
DataAccessLabel *DataAccessLabel `protobuf:"bytes,2,opt,name=data_access_label,json=dataAccessLabel,proto3" json:"data_access_label,omitempty"`
// Required. The ID to use for the data access label, which will become the
// label's display name and the final component of the label's resource name.
// The maximum number of characters should be 63. Regex pattern is as per AIP:
// https://google.aip.dev/122#resource-id-segments
DataAccessLabelId string `protobuf:"bytes,3,opt,name=data_access_label_id,json=dataAccessLabelId,proto3" json:"data_access_label_id,omitempty"`
// contains filtered or unexported fields
}Request message for CreateDataAccessLabel.
func (*CreateDataAccessLabelRequest) Descriptor
func (*CreateDataAccessLabelRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDataAccessLabelRequest.ProtoReflect.Descriptor instead.
func (*CreateDataAccessLabelRequest) GetDataAccessLabel
func (x *CreateDataAccessLabelRequest) GetDataAccessLabel() *DataAccessLabelfunc (*CreateDataAccessLabelRequest) GetDataAccessLabelId
func (x *CreateDataAccessLabelRequest) GetDataAccessLabelId() stringfunc (*CreateDataAccessLabelRequest) GetParent
func (x *CreateDataAccessLabelRequest) GetParent() stringfunc (*CreateDataAccessLabelRequest) ProtoMessage
func (*CreateDataAccessLabelRequest) ProtoMessage()func (*CreateDataAccessLabelRequest) ProtoReflect
func (x *CreateDataAccessLabelRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDataAccessLabelRequest) Reset
func (x *CreateDataAccessLabelRequest) Reset()func (*CreateDataAccessLabelRequest) String
func (x *CreateDataAccessLabelRequest) String() stringCreateDataAccessScopeRequest
type CreateDataAccessScopeRequest struct {
// Required. The parent resource where this Data Access Scope will be created.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Data access scope to create.
DataAccessScope *DataAccessScope `protobuf:"bytes,2,opt,name=data_access_scope,json=dataAccessScope,proto3" json:"data_access_scope,omitempty"`
// Required. The user provided scope id which will become the last part of the
// name of the scope resource. Needs to be compliant with
// https://google.aip.dev/122
DataAccessScopeId string `protobuf:"bytes,3,opt,name=data_access_scope_id,json=dataAccessScopeId,proto3" json:"data_access_scope_id,omitempty"`
// contains filtered or unexported fields
}Request message for CreateDataAccessScope.
func (*CreateDataAccessScopeRequest) Descriptor
func (*CreateDataAccessScopeRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDataAccessScopeRequest.ProtoReflect.Descriptor instead.
func (*CreateDataAccessScopeRequest) GetDataAccessScope
func (x *CreateDataAccessScopeRequest) GetDataAccessScope() *DataAccessScopefunc (*CreateDataAccessScopeRequest) GetDataAccessScopeId
func (x *CreateDataAccessScopeRequest) GetDataAccessScopeId() stringfunc (*CreateDataAccessScopeRequest) GetParent
func (x *CreateDataAccessScopeRequest) GetParent() stringfunc (*CreateDataAccessScopeRequest) ProtoMessage
func (*CreateDataAccessScopeRequest) ProtoMessage()func (*CreateDataAccessScopeRequest) ProtoReflect
func (x *CreateDataAccessScopeRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDataAccessScopeRequest) Reset
func (x *CreateDataAccessScopeRequest) Reset()func (*CreateDataAccessScopeRequest) String
func (x *CreateDataAccessScopeRequest) String() stringCreateReferenceListRequest
type CreateReferenceListRequest struct {
// Required. The parent resource where this reference list will be created.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The reference list to create.
ReferenceList *ReferenceList `protobuf:"bytes,2,opt,name=reference_list,json=referenceList,proto3" json:"reference_list,omitempty"`
// Required. The ID to use for the reference list. This is also the display
// name for the reference list. It must satisfy the following requirements:
// - Starts with letter.
// - Contains only letters, numbers and underscore.
// - Has length less than 256.
// - Must be unique.
ReferenceListId string `protobuf:"bytes,3,opt,name=reference_list_id,json=referenceListId,proto3" json:"reference_list_id,omitempty"`
// contains filtered or unexported fields
}A request to create a reference list.
func (*CreateReferenceListRequest) Descriptor
func (*CreateReferenceListRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateReferenceListRequest.ProtoReflect.Descriptor instead.
func (*CreateReferenceListRequest) GetParent
func (x *CreateReferenceListRequest) GetParent() stringfunc (*CreateReferenceListRequest) GetReferenceList
func (x *CreateReferenceListRequest) GetReferenceList() *ReferenceListfunc (*CreateReferenceListRequest) GetReferenceListId
func (x *CreateReferenceListRequest) GetReferenceListId() stringfunc (*CreateReferenceListRequest) ProtoMessage
func (*CreateReferenceListRequest) ProtoMessage()func (*CreateReferenceListRequest) ProtoReflect
func (x *CreateReferenceListRequest) ProtoReflect() protoreflect.Messagefunc (*CreateReferenceListRequest) Reset
func (x *CreateReferenceListRequest) Reset()func (*CreateReferenceListRequest) String
func (x *CreateReferenceListRequest) String() stringCreateRetrohuntRequest
type CreateRetrohuntRequest struct {
// Required. The parent of retrohunt, which is a rule.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The retrohunt to create.
Retrohunt *Retrohunt `protobuf:"bytes,2,opt,name=retrohunt,proto3" json:"retrohunt,omitempty"`
// contains filtered or unexported fields
}Request message for CreateRetrohunt method.
func (*CreateRetrohuntRequest) Descriptor
func (*CreateRetrohuntRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateRetrohuntRequest.ProtoReflect.Descriptor instead.
func (*CreateRetrohuntRequest) GetParent
func (x *CreateRetrohuntRequest) GetParent() stringfunc (*CreateRetrohuntRequest) GetRetrohunt
func (x *CreateRetrohuntRequest) GetRetrohunt() *Retrohuntfunc (*CreateRetrohuntRequest) ProtoMessage
func (*CreateRetrohuntRequest) ProtoMessage()func (*CreateRetrohuntRequest) ProtoReflect
func (x *CreateRetrohuntRequest) ProtoReflect() protoreflect.Messagefunc (*CreateRetrohuntRequest) Reset
func (x *CreateRetrohuntRequest) Reset()func (*CreateRetrohuntRequest) String
func (x *CreateRetrohuntRequest) String() stringCreateRuleRequest
type CreateRuleRequest struct {
// Required. The parent resource where this rule will be created.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The rule to create.
Rule *Rule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"`
// contains filtered or unexported fields
}Request message for CreateRule method.
func (*CreateRuleRequest) Descriptor
func (*CreateRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateRuleRequest) GetParent
func (x *CreateRuleRequest) GetParent() stringfunc (*CreateRuleRequest) GetRule
func (x *CreateRuleRequest) GetRule() *Rulefunc (*CreateRuleRequest) ProtoMessage
func (*CreateRuleRequest) ProtoMessage()func (*CreateRuleRequest) ProtoReflect
func (x *CreateRuleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateRuleRequest) Reset
func (x *CreateRuleRequest) Reset()func (*CreateRuleRequest) String
func (x *CreateRuleRequest) String() stringCreateWatchlistRequest
type CreateWatchlistRequest struct {
// Required. The parent resource where this watchlist will be created.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The ID to use for the watchlist,
// which will become the final component of the watchlist's resource name.
//
// This value should be 4-63 characters, and valid characters
// are /[a-z][0-9]-/.
WatchlistId string `protobuf:"bytes,2,opt,name=watchlist_id,json=watchlistId,proto3" json:"watchlist_id,omitempty"`
// Required. The watchlist to create.
Watchlist *Watchlist `protobuf:"bytes,3,opt,name=watchlist,proto3" json:"watchlist,omitempty"`
// contains filtered or unexported fields
}Request message for creating watchlist.
func (*CreateWatchlistRequest) Descriptor
func (*CreateWatchlistRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateWatchlistRequest.ProtoReflect.Descriptor instead.
func (*CreateWatchlistRequest) GetParent
func (x *CreateWatchlistRequest) GetParent() stringfunc (*CreateWatchlistRequest) GetWatchlist
func (x *CreateWatchlistRequest) GetWatchlist() *Watchlistfunc (*CreateWatchlistRequest) GetWatchlistId
func (x *CreateWatchlistRequest) GetWatchlistId() stringfunc (*CreateWatchlistRequest) ProtoMessage
func (*CreateWatchlistRequest) ProtoMessage()func (*CreateWatchlistRequest) ProtoReflect
func (x *CreateWatchlistRequest) ProtoReflect() protoreflect.Messagefunc (*CreateWatchlistRequest) Reset
func (x *CreateWatchlistRequest) Reset()func (*CreateWatchlistRequest) String
func (x *CreateWatchlistRequest) String() stringDataAccessControlServiceClient
type DataAccessControlServiceClient interface {
// Creates a data access label.
// Data access labels are applied to incoming event data and selected in data
// access scopes (another resource), and only users with scopes containing the
// label can see data with that label. Currently, the data access label
// resource only includes custom labels, which are labels that correspond
// to UDM queries over event data.
CreateDataAccessLabel(ctx context.Context, in *CreateDataAccessLabelRequest, opts ...grpc.CallOption) (*DataAccessLabel, error)
// Gets a data access label.
GetDataAccessLabel(ctx context.Context, in *GetDataAccessLabelRequest, opts ...grpc.CallOption) (*DataAccessLabel, error)
// Lists all data access labels for the customer.
ListDataAccessLabels(ctx context.Context, in *ListDataAccessLabelsRequest, opts ...grpc.CallOption) (*ListDataAccessLabelsResponse, error)
// Updates a data access label.
UpdateDataAccessLabel(ctx context.Context, in *UpdateDataAccessLabelRequest, opts ...grpc.CallOption) (*DataAccessLabel, error)
// Deletes a data access label. When a label is deleted, new
// data that enters in the system will not receive the label, but the label
// will not be removed from old data that still refers to it.
DeleteDataAccessLabel(ctx context.Context, in *DeleteDataAccessLabelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Creates a data access scope.
// Data access scope is a combination of allowed and denied labels attached
// to a permission group. If a scope has allowed labels A and B and denied
// labels C and D, then the group of people attached to the scope
// will have permissions to see all events labeled with A or B (or both) and
// not labeled with either C or D.
CreateDataAccessScope(ctx context.Context, in *CreateDataAccessScopeRequest, opts ...grpc.CallOption) (*DataAccessScope, error)
// Retrieves an existing data access scope.
GetDataAccessScope(ctx context.Context, in *GetDataAccessScopeRequest, opts ...grpc.CallOption) (*DataAccessScope, error)
// Lists all existing data access scopes for the customer.
ListDataAccessScopes(ctx context.Context, in *ListDataAccessScopesRequest, opts ...grpc.CallOption) (*ListDataAccessScopesResponse, error)
// Updates a data access scope.
UpdateDataAccessScope(ctx context.Context, in *UpdateDataAccessScopeRequest, opts ...grpc.CallOption) (*DataAccessScope, error)
// Deletes a data access scope.
DeleteDataAccessScope(ctx context.Context, in *DeleteDataAccessScopeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}DataAccessControlServiceClient is the client API for DataAccessControlService 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.
func NewDataAccessControlServiceClient
func NewDataAccessControlServiceClient(cc grpc.ClientConnInterface) DataAccessControlServiceClientDataAccessControlServiceServer
type DataAccessControlServiceServer interface {
// Creates a data access label.
// Data access labels are applied to incoming event data and selected in data
// access scopes (another resource), and only users with scopes containing the
// label can see data with that label. Currently, the data access label
// resource only includes custom labels, which are labels that correspond
// to UDM queries over event data.
CreateDataAccessLabel(context.Context, *CreateDataAccessLabelRequest) (*DataAccessLabel, error)
// Gets a data access label.
GetDataAccessLabel(context.Context, *GetDataAccessLabelRequest) (*DataAccessLabel, error)
// Lists all data access labels for the customer.
ListDataAccessLabels(context.Context, *ListDataAccessLabelsRequest) (*ListDataAccessLabelsResponse, error)
// Updates a data access label.
UpdateDataAccessLabel(context.Context, *UpdateDataAccessLabelRequest) (*DataAccessLabel, error)
// Deletes a data access label. When a label is deleted, new
// data that enters in the system will not receive the label, but the label
// will not be removed from old data that still refers to it.
DeleteDataAccessLabel(context.Context, *DeleteDataAccessLabelRequest) (*emptypb.Empty, error)
// Creates a data access scope.
// Data access scope is a combination of allowed and denied labels attached
// to a permission group. If a scope has allowed labels A and B and denied
// labels C and D, then the group of people attached to the scope
// will have permissions to see all events labeled with A or B (or both) and
// not labeled with either C or D.
CreateDataAccessScope(context.Context, *CreateDataAccessScopeRequest) (*DataAccessScope, error)
// Retrieves an existing data access scope.
GetDataAccessScope(context.Context, *GetDataAccessScopeRequest) (*DataAccessScope, error)
// Lists all existing data access scopes for the customer.
ListDataAccessScopes(context.Context, *ListDataAccessScopesRequest) (*ListDataAccessScopesResponse, error)
// Updates a data access scope.
UpdateDataAccessScope(context.Context, *UpdateDataAccessScopeRequest) (*DataAccessScope, error)
// Deletes a data access scope.
DeleteDataAccessScope(context.Context, *DeleteDataAccessScopeRequest) (*emptypb.Empty, error)
}DataAccessControlServiceServer is the server API for DataAccessControlService service. All implementations should embed UnimplementedDataAccessControlServiceServer for forward compatibility
DataAccessLabel
type DataAccessLabel struct {
// Required.
// The definition of the data access label that determines which
// data gets tagged with this label.
//
// Types that are assignable to Definition:
//
// *DataAccessLabel_UdmQuery
Definition isDataAccessLabel_Definition `protobuf_oneof:"definition"`
// The unique resource name of the data access label.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The short name displayed for the label as it appears on event
// data.
DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The time at which the data access label was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time at which the data access label was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The user who created the data access label.
Author string `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"`
// Output only. The user who last updated the data access label.
LastEditor string `protobuf:"bytes,7,opt,name=last_editor,json=lastEditor,proto3" json:"last_editor,omitempty"`
// Optional. A description of the data access label for a human reader.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}A DataAccessLabel is a label on events to define user access to data.
func (*DataAccessLabel) Descriptor
func (*DataAccessLabel) Descriptor() ([]byte, []int)Deprecated: Use DataAccessLabel.ProtoReflect.Descriptor instead.
func (*DataAccessLabel) GetAuthor
func (x *DataAccessLabel) GetAuthor() stringfunc (*DataAccessLabel) GetCreateTime
func (x *DataAccessLabel) GetCreateTime() *timestamppb.Timestampfunc (*DataAccessLabel) GetDefinition
func (m *DataAccessLabel) GetDefinition() isDataAccessLabel_Definitionfunc (*DataAccessLabel) GetDescription
func (x *DataAccessLabel) GetDescription() stringfunc (*DataAccessLabel) GetDisplayName
func (x *DataAccessLabel) GetDisplayName() stringfunc (*DataAccessLabel) GetLastEditor
func (x *DataAccessLabel) GetLastEditor() stringfunc (*DataAccessLabel) GetName
func (x *DataAccessLabel) GetName() stringfunc (*DataAccessLabel) GetUdmQuery
func (x *DataAccessLabel) GetUdmQuery() stringfunc (*DataAccessLabel) GetUpdateTime
func (x *DataAccessLabel) GetUpdateTime() *timestamppb.Timestampfunc (*DataAccessLabel) ProtoMessage
func (*DataAccessLabel) ProtoMessage()func (*DataAccessLabel) ProtoReflect
func (x *DataAccessLabel) ProtoReflect() protoreflect.Messagefunc (*DataAccessLabel) Reset
func (x *DataAccessLabel) Reset()func (*DataAccessLabel) String
func (x *DataAccessLabel) String() stringDataAccessLabelReference
type DataAccessLabelReference struct {
// The unique identifier for the label.
//
// Types that are assignable to Label:
//
// *DataAccessLabelReference_DataAccessLabel
// *DataAccessLabelReference_LogType
// *DataAccessLabelReference_AssetNamespace
// *DataAccessLabelReference_IngestionLabel
Label isDataAccessLabelReference_Label `protobuf_oneof:"label"`
// Output only. The display name of the label.
// Data access label and log types's name
// will match the display name of the resource.
// The asset namespace will match the namespace itself.
// The ingestion key value pair will match the key of the tuple.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}Reference object to a data access label.
func (*DataAccessLabelReference) Descriptor
func (*DataAccessLabelReference) Descriptor() ([]byte, []int)Deprecated: Use DataAccessLabelReference.ProtoReflect.Descriptor instead.
func (*DataAccessLabelReference) GetAssetNamespace
func (x *DataAccessLabelReference) GetAssetNamespace() stringfunc (*DataAccessLabelReference) GetDataAccessLabel
func (x *DataAccessLabelReference) GetDataAccessLabel() stringfunc (*DataAccessLabelReference) GetDisplayName
func (x *DataAccessLabelReference) GetDisplayName() stringfunc (*DataAccessLabelReference) GetIngestionLabel
func (x *DataAccessLabelReference) GetIngestionLabel() *IngestionLabelfunc (*DataAccessLabelReference) GetLabel
func (m *DataAccessLabelReference) GetLabel() isDataAccessLabelReference_Labelfunc (*DataAccessLabelReference) GetLogType
func (x *DataAccessLabelReference) GetLogType() stringfunc (*DataAccessLabelReference) ProtoMessage
func (*DataAccessLabelReference) ProtoMessage()func (*DataAccessLabelReference) ProtoReflect
func (x *DataAccessLabelReference) ProtoReflect() protoreflect.Messagefunc (*DataAccessLabelReference) Reset
func (x *DataAccessLabelReference) Reset()func (*DataAccessLabelReference) String
func (x *DataAccessLabelReference) String() stringDataAccessLabelReference_AssetNamespace
type DataAccessLabelReference_AssetNamespace struct {
// The asset namespace configured in the forwarder
// of the customer's events.
AssetNamespace string `protobuf:"bytes,3,opt,name=asset_namespace,json=assetNamespace,proto3,oneof"`
}DataAccessLabelReference_DataAccessLabel
type DataAccessLabelReference_DataAccessLabel struct {
// The name of the data access label.
DataAccessLabel string `protobuf:"bytes,1,opt,name=data_access_label,json=dataAccessLabel,proto3,oneof"`
}DataAccessLabelReference_IngestionLabel
type DataAccessLabelReference_IngestionLabel struct {
// The ingestion label configured in the forwarder of the customer's events.
IngestionLabel *IngestionLabel `protobuf:"bytes,4,opt,name=ingestion_label,json=ingestionLabel,proto3,oneof"`
}DataAccessLabelReference_LogType
type DataAccessLabelReference_LogType struct {
// The name of the log type.
LogType string `protobuf:"bytes,2,opt,name=log_type,json=logType,proto3,oneof"`
}DataAccessLabel_UdmQuery
type DataAccessLabel_UdmQuery struct {
// A UDM query over event data.
UdmQuery string `protobuf:"bytes,3,opt,name=udm_query,json=udmQuery,proto3,oneof"`
}DataAccessScope
type DataAccessScope struct {
// Required. The unique full name of the data access scope.
// The name should comply with https://google.aip.dev/122 standards.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The allowed labels for the scope.
// Either allow_all or allowed_data_access_labels needs to be provided.
// When provided, there has to be at least one label allowed for the scope to
// be valid.
// The logical operator for evaluation of the allowed labels is OR.
// E.g.: A customer with scope with allowed labels A and B will be able
// to see data with labeled with A or B or (A and B).
AllowedDataAccessLabels []*DataAccessLabelReference `protobuf:"bytes,2,rep,name=allowed_data_access_labels,json=allowedDataAccessLabels,proto3" json:"allowed_data_access_labels,omitempty"`
// Optional. The denied labels for the scope.
// The logical operator for evaluation of the denied labels is AND.
// E.g.: A customer with scope with denied labels A and B won't be able
// to see data labeled with A and data labeled with B
// and data with labels A and B.
DeniedDataAccessLabels []*DataAccessLabelReference `protobuf:"bytes,3,rep,name=denied_data_access_labels,json=deniedDataAccessLabels,proto3" json:"denied_data_access_labels,omitempty"`
// Output only. The name to be used for display to customers of the data
// access scope.
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The time at which the data access scope was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time at which the data access scope was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The user who created the data access scope.
Author string `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"`
// Output only. The user who last updated the data access scope.
LastEditor string `protobuf:"bytes,8,opt,name=last_editor,json=lastEditor,proto3" json:"last_editor,omitempty"`
// Optional. A description of the data access scope for a human reader.
Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Whether or not the scope allows all labels, allow_all and
// allowed_data_access_labels are mutually exclusive and one of them must be
// present. denied_data_access_labels can still be used along with allow_all.
// When combined with denied_data_access_labels, access will be granted to all
// data that doesn't have labels mentioned in denied_data_access_labels. E.g.:
// A customer with scope with denied labels A and B and allow_all will be able
// to see all data except data labeled with A and data labeled with B and data
// with labels A and B.
AllowAll bool `protobuf:"varint,10,opt,name=allow_all,json=allowAll,proto3" json:"allow_all,omitempty"`
// contains filtered or unexported fields
}A DataAccessScope is a boolean expression of data access labels used to restrict access to data for users.
func (*DataAccessScope) Descriptor
func (*DataAccessScope) Descriptor() ([]byte, []int)Deprecated: Use DataAccessScope.ProtoReflect.Descriptor instead.
func (*DataAccessScope) GetAllowAll
func (x *DataAccessScope) GetAllowAll() boolfunc (*DataAccessScope) GetAllowedDataAccessLabels
func (x *DataAccessScope) GetAllowedDataAccessLabels() []*DataAccessLabelReferencefunc (*DataAccessScope) GetAuthor
func (x *DataAccessScope) GetAuthor() stringfunc (*DataAccessScope) GetCreateTime
func (x *DataAccessScope) GetCreateTime() *timestamppb.Timestampfunc (*DataAccessScope) GetDeniedDataAccessLabels
func (x *DataAccessScope) GetDeniedDataAccessLabels() []*DataAccessLabelReferencefunc (*DataAccessScope) GetDescription
func (x *DataAccessScope) GetDescription() stringfunc (*DataAccessScope) GetDisplayName
func (x *DataAccessScope) GetDisplayName() stringfunc (*DataAccessScope) GetLastEditor
func (x *DataAccessScope) GetLastEditor() stringfunc (*DataAccessScope) GetName
func (x *DataAccessScope) GetName() stringfunc (*DataAccessScope) GetUpdateTime
func (x *DataAccessScope) GetUpdateTime() *timestamppb.Timestampfunc (*DataAccessScope) ProtoMessage
func (*DataAccessScope) ProtoMessage()func (*DataAccessScope) ProtoReflect
func (x *DataAccessScope) ProtoReflect() protoreflect.Messagefunc (*DataAccessScope) Reset
func (x *DataAccessScope) Reset()func (*DataAccessScope) String
func (x *DataAccessScope) String() stringDeleteDataAccessLabelRequest
type DeleteDataAccessLabelRequest struct {
// Required. The ID of the data access label to delete.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message to delete a data access label.
func (*DeleteDataAccessLabelRequest) Descriptor
func (*DeleteDataAccessLabelRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDataAccessLabelRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataAccessLabelRequest) GetName
func (x *DeleteDataAccessLabelRequest) GetName() stringfunc (*DeleteDataAccessLabelRequest) ProtoMessage
func (*DeleteDataAccessLabelRequest) ProtoMessage()func (*DeleteDataAccessLabelRequest) ProtoReflect
func (x *DeleteDataAccessLabelRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDataAccessLabelRequest) Reset
func (x *DeleteDataAccessLabelRequest) Reset()func (*DeleteDataAccessLabelRequest) String
func (x *DeleteDataAccessLabelRequest) String() stringDeleteDataAccessScopeRequest
type DeleteDataAccessScopeRequest struct {
// Required. The ID of the data access scope to delete.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message to delete a data access scope.
func (*DeleteDataAccessScopeRequest) Descriptor
func (*DeleteDataAccessScopeRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDataAccessScopeRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataAccessScopeRequest) GetName
func (x *DeleteDataAccessScopeRequest) GetName() stringfunc (*DeleteDataAccessScopeRequest) ProtoMessage
func (*DeleteDataAccessScopeRequest) ProtoMessage()func (*DeleteDataAccessScopeRequest) ProtoReflect
func (x *DeleteDataAccessScopeRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDataAccessScopeRequest) Reset
func (x *DeleteDataAccessScopeRequest) Reset()func (*DeleteDataAccessScopeRequest) String
func (x *DeleteDataAccessScopeRequest) String() stringDeleteRuleRequest
type DeleteRuleRequest struct {
// Required. The name of the rule to delete. A rule revision timestamp cannot
// be specified as part of the name, as deleting specific revisions is not
// supported.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set to true, any retrohunts and any detections associated with
// the rule will also be deleted. If set to false, the call will only succeed
// if the rule has no associated retrohunts, including completed retrohunts,
// and no associated detections. Regardless of this field's value, the rule
// deployment associated with this rule will also be deleted.
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}Request message for the DeleteRule method.
func (*DeleteRuleRequest) Descriptor
func (*DeleteRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteRuleRequest) GetForce
func (x *DeleteRuleRequest) GetForce() boolfunc (*DeleteRuleRequest) GetName
func (x *DeleteRuleRequest) GetName() stringfunc (*DeleteRuleRequest) ProtoMessage
func (*DeleteRuleRequest) ProtoMessage()func (*DeleteRuleRequest) ProtoReflect
func (x *DeleteRuleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteRuleRequest) Reset
func (x *DeleteRuleRequest) Reset()func (*DeleteRuleRequest) String
func (x *DeleteRuleRequest) String() stringDeleteWatchlistRequest
type DeleteWatchlistRequest struct {
// Required. The name of the watchlist to delete.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set to true, any entities under this watchlist will also be
// deleted. (Otherwise, the request will only work if the watchlist has no
// entities.)
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}Request message for deleting watchlist.
func (*DeleteWatchlistRequest) Descriptor
func (*DeleteWatchlistRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteWatchlistRequest.ProtoReflect.Descriptor instead.
func (*DeleteWatchlistRequest) GetForce
func (x *DeleteWatchlistRequest) GetForce() boolfunc (*DeleteWatchlistRequest) GetName
func (x *DeleteWatchlistRequest) GetName() stringfunc (*DeleteWatchlistRequest) ProtoMessage
func (*DeleteWatchlistRequest) ProtoMessage()func (*DeleteWatchlistRequest) ProtoReflect
func (x *DeleteWatchlistRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteWatchlistRequest) Reset
func (x *DeleteWatchlistRequest) Reset()func (*DeleteWatchlistRequest) String
func (x *DeleteWatchlistRequest) String() stringEntityServiceClient
type EntityServiceClient interface {
// Gets watchlist details for the given watchlist ID.
GetWatchlist(ctx context.Context, in *GetWatchlistRequest, opts ...grpc.CallOption) (*Watchlist, error)
// Lists all watchlists for the given instance.
ListWatchlists(ctx context.Context, in *ListWatchlistsRequest, opts ...grpc.CallOption) (*ListWatchlistsResponse, error)
// Creates a watchlist for the given instance.
// Note that there can be at most 200 watchlists per instance.
CreateWatchlist(ctx context.Context, in *CreateWatchlistRequest, opts ...grpc.CallOption) (*Watchlist, error)
// Updates the watchlist for the given instance.
UpdateWatchlist(ctx context.Context, in *UpdateWatchlistRequest, opts ...grpc.CallOption) (*Watchlist, error)
// Deletes the watchlist for the given instance.
DeleteWatchlist(ctx context.Context, in *DeleteWatchlistRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}EntityServiceClient is the client API for EntityService 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.
func NewEntityServiceClient
func NewEntityServiceClient(cc grpc.ClientConnInterface) EntityServiceClientEntityServiceServer
type EntityServiceServer interface {
// Gets watchlist details for the given watchlist ID.
GetWatchlist(context.Context, *GetWatchlistRequest) (*Watchlist, error)
// Lists all watchlists for the given instance.
ListWatchlists(context.Context, *ListWatchlistsRequest) (*ListWatchlistsResponse, error)
// Creates a watchlist for the given instance.
// Note that there can be at most 200 watchlists per instance.
CreateWatchlist(context.Context, *CreateWatchlistRequest) (*Watchlist, error)
// Updates the watchlist for the given instance.
UpdateWatchlist(context.Context, *UpdateWatchlistRequest) (*Watchlist, error)
// Deletes the watchlist for the given instance.
DeleteWatchlist(context.Context, *DeleteWatchlistRequest) (*emptypb.Empty, error)
}EntityServiceServer is the server API for EntityService service. All implementations should embed UnimplementedEntityServiceServer for forward compatibility
GetDataAccessLabelRequest
type GetDataAccessLabelRequest struct {
// Required. The ID of the data access label to retrieve.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message to retrieve a data access label.
func (*GetDataAccessLabelRequest) Descriptor
func (*GetDataAccessLabelRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDataAccessLabelRequest.ProtoReflect.Descriptor instead.
func (*GetDataAccessLabelRequest) GetName
func (x *GetDataAccessLabelRequest) GetName() stringfunc (*GetDataAccessLabelRequest) ProtoMessage
func (*GetDataAccessLabelRequest) ProtoMessage()func (*GetDataAccessLabelRequest) ProtoReflect
func (x *GetDataAccessLabelRequest) ProtoReflect() protoreflect.Messagefunc (*GetDataAccessLabelRequest) Reset
func (x *GetDataAccessLabelRequest) Reset()func (*GetDataAccessLabelRequest) String
func (x *GetDataAccessLabelRequest) String() stringGetDataAccessScopeRequest
type GetDataAccessScopeRequest struct {
// Required. The ID of the data access scope to retrieve.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message to retrieve a data access scope.
func (*GetDataAccessScopeRequest) Descriptor
func (*GetDataAccessScopeRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDataAccessScopeRequest.ProtoReflect.Descriptor instead.
func (*GetDataAccessScopeRequest) GetName
func (x *GetDataAccessScopeRequest) GetName() stringfunc (*GetDataAccessScopeRequest) ProtoMessage
func (*GetDataAccessScopeRequest) ProtoMessage()func (*GetDataAccessScopeRequest) ProtoReflect
func (x *GetDataAccessScopeRequest) ProtoReflect() protoreflect.Messagefunc (*GetDataAccessScopeRequest) Reset
func (x *GetDataAccessScopeRequest) Reset()func (*GetDataAccessScopeRequest) String
func (x *GetDataAccessScopeRequest) String() stringGetInstanceRequest
type GetInstanceRequest struct {
// Required. The name of the instance to retrieve.
// Format:
// `projects/{project_id}/locations/{location}/instances/{instance}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request to get a Instance.
func (*GetInstanceRequest) Descriptor
func (*GetInstanceRequest) Descriptor() ([]byte, []int)Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceRequest) GetName
func (x *GetInstanceRequest) GetName() stringfunc (*GetInstanceRequest) ProtoMessage
func (*GetInstanceRequest) ProtoMessage()func (*GetInstanceRequest) ProtoReflect
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Messagefunc (*GetInstanceRequest) Reset
func (x *GetInstanceRequest) Reset()func (*GetInstanceRequest) String
func (x *GetInstanceRequest) String() stringGetReferenceListRequest
type GetReferenceListRequest struct {
// Required. The resource name of the reference list to retrieve.
// Format:
// `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// How much of the ReferenceList to view. Defaults to
// REFERENCE_LIST_VIEW_FULL.
View ReferenceListView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.chronicle.v1.ReferenceListView" json:"view,omitempty"`
// contains filtered or unexported fields
}A request to get details about a reference list.
func (*GetReferenceListRequest) Descriptor
func (*GetReferenceListRequest) Descriptor() ([]byte, []int)Deprecated: Use GetReferenceListRequest.ProtoReflect.Descriptor instead.
func (*GetReferenceListRequest) GetName
func (x *GetReferenceListRequest) GetName() stringfunc (*GetReferenceListRequest) GetView
func (x *GetReferenceListRequest) GetView() ReferenceListViewfunc (*GetReferenceListRequest) ProtoMessage
func (*GetReferenceListRequest) ProtoMessage()func (*GetReferenceListRequest) ProtoReflect
func (x *GetReferenceListRequest) ProtoReflect() protoreflect.Messagefunc (*GetReferenceListRequest) Reset
func (x *GetReferenceListRequest) Reset()func (*GetReferenceListRequest) String
func (x *GetReferenceListRequest) String() stringGetRetrohuntRequest
type GetRetrohuntRequest struct {
// Required. The name of the retrohunt to retrieve.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for GetRetrohunt method.
func (*GetRetrohuntRequest) Descriptor
func (*GetRetrohuntRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRetrohuntRequest.ProtoReflect.Descriptor instead.
func (*GetRetrohuntRequest) GetName
func (x *GetRetrohuntRequest) GetName() stringfunc (*GetRetrohuntRequest) ProtoMessage
func (*GetRetrohuntRequest) ProtoMessage()func (*GetRetrohuntRequest) ProtoReflect
func (x *GetRetrohuntRequest) ProtoReflect() protoreflect.Messagefunc (*GetRetrohuntRequest) Reset
func (x *GetRetrohuntRequest) Reset()func (*GetRetrohuntRequest) String
func (x *GetRetrohuntRequest) String() stringGetRuleDeploymentRequest
type GetRuleDeploymentRequest struct {
// Required. The name of the rule deployment to retrieve.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for GetRuleDeployment.
func (*GetRuleDeploymentRequest) Descriptor
func (*GetRuleDeploymentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRuleDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetRuleDeploymentRequest) GetName
func (x *GetRuleDeploymentRequest) GetName() stringfunc (*GetRuleDeploymentRequest) ProtoMessage
func (*GetRuleDeploymentRequest) ProtoMessage()func (*GetRuleDeploymentRequest) ProtoReflect
func (x *GetRuleDeploymentRequest) ProtoReflect() protoreflect.Messagefunc (*GetRuleDeploymentRequest) Reset
func (x *GetRuleDeploymentRequest) Reset()func (*GetRuleDeploymentRequest) String
func (x *GetRuleDeploymentRequest) String() stringGetRuleRequest
type GetRuleRequest struct {
// Required. The name of the rule to retrieve.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The view field indicates the scope of fields to populate for the Rule being
// returned. If unspecified, defaults to FULL.
View RuleView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.chronicle.v1.RuleView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for GetRule method.
func (*GetRuleRequest) Descriptor
func (*GetRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRuleRequest.ProtoReflect.Descriptor instead.
func (*GetRuleRequest) GetName
func (x *GetRuleRequest) GetName() stringfunc (*GetRuleRequest) GetView
func (x *GetRuleRequest) GetView() RuleViewfunc (*GetRuleRequest) ProtoMessage
func (*GetRuleRequest) ProtoMessage()func (*GetRuleRequest) ProtoReflect
func (x *GetRuleRequest) ProtoReflect() protoreflect.Messagefunc (*GetRuleRequest) Reset
func (x *GetRuleRequest) Reset()func (*GetRuleRequest) String
func (x *GetRuleRequest) String() stringGetWatchlistRequest
type GetWatchlistRequest struct {
// Required. The parent, which owns this collection of watchlists.
// The name of the watchlist to retrieve.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request message for getting a watchlist.
func (*GetWatchlistRequest) Descriptor
func (*GetWatchlistRequest) Descriptor() ([]byte, []int)Deprecated: Use GetWatchlistRequest.ProtoReflect.Descriptor instead.
func (*GetWatchlistRequest) GetName
func (x *GetWatchlistRequest) GetName() stringfunc (*GetWatchlistRequest) ProtoMessage
func (*GetWatchlistRequest) ProtoMessage()func (*GetWatchlistRequest) ProtoReflect
func (x *GetWatchlistRequest) ProtoReflect() protoreflect.Messagefunc (*GetWatchlistRequest) Reset
func (x *GetWatchlistRequest) Reset()func (*GetWatchlistRequest) String
func (x *GetWatchlistRequest) String() stringIngestionLabel
type IngestionLabel struct {
// Required. The key of the ingestion label. Always required.
IngestionLabelKey string `protobuf:"bytes,1,opt,name=ingestion_label_key,json=ingestionLabelKey,proto3" json:"ingestion_label_key,omitempty"`
// Optional. The value of the ingestion label. Optional. An object
// with no provided value and some key provided would match
// against the given key and ANY value.
IngestionLabelValue string `protobuf:"bytes,2,opt,name=ingestion_label_value,json=ingestionLabelValue,proto3" json:"ingestion_label_value,omitempty"`
// contains filtered or unexported fields
}Representation of an ingestion label type.
func (*IngestionLabel) Descriptor
func (*IngestionLabel) Descriptor() ([]byte, []int)Deprecated: Use IngestionLabel.ProtoReflect.Descriptor instead.
func (*IngestionLabel) GetIngestionLabelKey
func (x *IngestionLabel) GetIngestionLabelKey() stringfunc (*IngestionLabel) GetIngestionLabelValue
func (x *IngestionLabel) GetIngestionLabelValue() stringfunc (*IngestionLabel) ProtoMessage
func (*IngestionLabel) ProtoMessage()func (*IngestionLabel) ProtoReflect
func (x *IngestionLabel) ProtoReflect() protoreflect.Messagefunc (*IngestionLabel) Reset
func (x *IngestionLabel) Reset()func (*IngestionLabel) String
func (x *IngestionLabel) String() stringInputsUsed
type InputsUsed struct {
// Optional. Whether the rule queries UDM events.
UsesUdm bool `protobuf:"varint,1,opt,name=uses_udm,json=usesUdm,proto3" json:"uses_udm,omitempty"`
// Optional. Whether the rule queries entity events.
UsesEntity bool `protobuf:"varint,2,opt,name=uses_entity,json=usesEntity,proto3" json:"uses_entity,omitempty"`
// Optional. Whether the rule queries detections.
UsesDetection bool `protobuf:"varint,3,opt,name=uses_detection,json=usesDetection,proto3" json:"uses_detection,omitempty"`
// contains filtered or unexported fields
}InputsUsed is a convenience field that tells us which sources of events (if any) were used in the rule. NEXT TAG: 4
func (*InputsUsed) Descriptor
func (*InputsUsed) Descriptor() ([]byte, []int)Deprecated: Use InputsUsed.ProtoReflect.Descriptor instead.
func (*InputsUsed) GetUsesDetection
func (x *InputsUsed) GetUsesDetection() boolfunc (*InputsUsed) GetUsesEntity
func (x *InputsUsed) GetUsesEntity() boolfunc (*InputsUsed) GetUsesUdm
func (x *InputsUsed) GetUsesUdm() boolfunc (*InputsUsed) ProtoMessage
func (*InputsUsed) ProtoMessage()func (*InputsUsed) ProtoReflect
func (x *InputsUsed) ProtoReflect() protoreflect.Messagefunc (*InputsUsed) Reset
func (x *InputsUsed) Reset()func (*InputsUsed) String
func (x *InputsUsed) String() stringInstance
type Instance struct {
// Identifier. The resource name of this instance.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}A Instance represents an instantiation of the Instance product.
func (*Instance) Descriptor
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetName
func (*Instance) ProtoMessage
func (*Instance) ProtoMessage()func (*Instance) ProtoReflect
func (x *Instance) ProtoReflect() protoreflect.Messagefunc (*Instance) Reset
func (x *Instance) Reset()func (*Instance) String
InstanceServiceClient
type InstanceServiceClient interface {
// Gets a Instance.
GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
}InstanceServiceClient is the client API for InstanceService 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.
func NewInstanceServiceClient
func NewInstanceServiceClient(cc grpc.ClientConnInterface) InstanceServiceClientInstanceServiceServer
type InstanceServiceServer interface {
// Gets a Instance.
GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
}InstanceServiceServer is the server API for InstanceService service. All implementations should embed UnimplementedInstanceServiceServer for forward compatibility
ListDataAccessLabelsRequest
type ListDataAccessLabelsRequest struct {
// Required. The parent resource where this data access label will be created.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of data access labels to return. The service may return
// fewer than this value. If unspecified, at most 100 data access labels will
// be returned. The maximum value is 1000; values above 1000 will be coerced
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListDataAccessLabelsRequest` call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter which should follow the guidelines of AIP-160.
// Supports filtering on all fieds of DataAccessLabel and all operations as
// mentioned in https://google.aip.dev/160.
// example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR
// display_name:\"-21-1\"".
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for ListDataAccessLabels.
func (*ListDataAccessLabelsRequest) Descriptor
func (*ListDataAccessLabelsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDataAccessLabelsRequest.ProtoReflect.Descriptor instead.
func (*ListDataAccessLabelsRequest) GetFilter
func (x *ListDataAccessLabelsRequest) GetFilter() stringfunc (*ListDataAccessLabelsRequest) GetPageSize
func (x *ListDataAccessLabelsRequest) GetPageSize() int32func (*ListDataAccessLabelsRequest) GetPageToken
func (x *ListDataAccessLabelsRequest) GetPageToken() stringfunc (*ListDataAccessLabelsRequest) GetParent
func (x *ListDataAccessLabelsRequest) GetParent() stringfunc (*ListDataAccessLabelsRequest) ProtoMessage
func (*ListDataAccessLabelsRequest) ProtoMessage()func (*ListDataAccessLabelsRequest) ProtoReflect
func (x *ListDataAccessLabelsRequest) ProtoReflect() protoreflect.Messagefunc (*ListDataAccessLabelsRequest) Reset
func (x *ListDataAccessLabelsRequest) Reset()func (*ListDataAccessLabelsRequest) String
func (x *ListDataAccessLabelsRequest) String() stringListDataAccessLabelsResponse
type ListDataAccessLabelsResponse struct {
// List of data access labels.
DataAccessLabels []*DataAccessLabel `protobuf:"bytes,1,rep,name=data_access_labels,json=dataAccessLabels,proto3" json:"data_access_labels,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListDataAccessLabels.
func (*ListDataAccessLabelsResponse) Descriptor
func (*ListDataAccessLabelsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDataAccessLabelsResponse.ProtoReflect.Descriptor instead.
func (*ListDataAccessLabelsResponse) GetDataAccessLabels
func (x *ListDataAccessLabelsResponse) GetDataAccessLabels() []*DataAccessLabelfunc (*ListDataAccessLabelsResponse) GetNextPageToken
func (x *ListDataAccessLabelsResponse) GetNextPageToken() stringfunc (*ListDataAccessLabelsResponse) ProtoMessage
func (*ListDataAccessLabelsResponse) ProtoMessage()func (*ListDataAccessLabelsResponse) ProtoReflect
func (x *ListDataAccessLabelsResponse) ProtoReflect() protoreflect.Messagefunc (*ListDataAccessLabelsResponse) Reset
func (x *ListDataAccessLabelsResponse) Reset()func (*ListDataAccessLabelsResponse) String
func (x *ListDataAccessLabelsResponse) String() stringListDataAccessScopesRequest
type ListDataAccessScopesRequest struct {
// Required. The parent resource where this data access scope will be created.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of data access scopes to return. The service may return
// fewer than this value. If unspecified, at most 100 data access scopes will
// be returned. The maximum value is 1000; values above 1000 will be coerced
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListDataAccessScopesRequest` call.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter which should follow the guidelines of AIP-160.
// Supports filtering on all fieds of DataAccessScope and all operations as
// mentioned in https://google.aip.dev/160.
// example filter: "create_time greater than \"2023-04-21T11:30:00-04:00\" OR
// display_name:\"-21-1\"".
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for ListDataAccessScopes.
func (*ListDataAccessScopesRequest) Descriptor
func (*ListDataAccessScopesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDataAccessScopesRequest.ProtoReflect.Descriptor instead.
func (*ListDataAccessScopesRequest) GetFilter
func (x *ListDataAccessScopesRequest) GetFilter() stringfunc (*ListDataAccessScopesRequest) GetPageSize
func (x *ListDataAccessScopesRequest) GetPageSize() int32func (*ListDataAccessScopesRequest) GetPageToken
func (x *ListDataAccessScopesRequest) GetPageToken() stringfunc (*ListDataAccessScopesRequest) GetParent
func (x *ListDataAccessScopesRequest) GetParent() stringfunc (*ListDataAccessScopesRequest) ProtoMessage
func (*ListDataAccessScopesRequest) ProtoMessage()func (*ListDataAccessScopesRequest) ProtoReflect
func (x *ListDataAccessScopesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDataAccessScopesRequest) Reset
func (x *ListDataAccessScopesRequest) Reset()func (*ListDataAccessScopesRequest) String
func (x *ListDataAccessScopesRequest) String() stringListDataAccessScopesResponse
type ListDataAccessScopesResponse struct {
// List of data access scopes.
DataAccessScopes []*DataAccessScope `protobuf:"bytes,1,rep,name=data_access_scopes,json=dataAccessScopes,proto3" json:"data_access_scopes,omitempty"`
// Whether or not global scope is granted to the user.
GlobalDataAccessScopeGranted *bool `protobuf:"varint,3,opt,name=global_data_access_scope_granted,json=globalDataAccessScopeGranted,proto3,oneof" json:"global_data_access_scope_granted,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListDataAccessScopes.
func (*ListDataAccessScopesResponse) Descriptor
func (*ListDataAccessScopesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDataAccessScopesResponse.ProtoReflect.Descriptor instead.
func (*ListDataAccessScopesResponse) GetDataAccessScopes
func (x *ListDataAccessScopesResponse) GetDataAccessScopes() []*DataAccessScopefunc (*ListDataAccessScopesResponse) GetGlobalDataAccessScopeGranted
func (x *ListDataAccessScopesResponse) GetGlobalDataAccessScopeGranted() boolfunc (*ListDataAccessScopesResponse) GetNextPageToken
func (x *ListDataAccessScopesResponse) GetNextPageToken() stringfunc (*ListDataAccessScopesResponse) ProtoMessage
func (*ListDataAccessScopesResponse) ProtoMessage()func (*ListDataAccessScopesResponse) ProtoReflect
func (x *ListDataAccessScopesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDataAccessScopesResponse) Reset
func (x *ListDataAccessScopesResponse) Reset()func (*ListDataAccessScopesResponse) String
func (x *ListDataAccessScopesResponse) String() stringListReferenceListsRequest
type ListReferenceListsRequest struct {
// Required. The parent, which owns this collection of reference lists.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of reference lists to return.
// The service may return fewer than this value.
// If unspecified, at most 100 reference lists will be returned.
// The maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListReferenceLists` call.
// Provide this to retrieve the subsequent page.
// When paginating, all other parameters provided to `ListReferenceLists` must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// How much of each ReferenceList to view. Defaults to
// REFERENCE_LIST_VIEW_BASIC.
View ReferenceListView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.chronicle.v1.ReferenceListView" json:"view,omitempty"`
// contains filtered or unexported fields
}A request for a list of reference lists.
func (*ListReferenceListsRequest) Descriptor
func (*ListReferenceListsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListReferenceListsRequest.ProtoReflect.Descriptor instead.
func (*ListReferenceListsRequest) GetPageSize
func (x *ListReferenceListsRequest) GetPageSize() int32func (*ListReferenceListsRequest) GetPageToken
func (x *ListReferenceListsRequest) GetPageToken() stringfunc (*ListReferenceListsRequest) GetParent
func (x *ListReferenceListsRequest) GetParent() stringfunc (*ListReferenceListsRequest) GetView
func (x *ListReferenceListsRequest) GetView() ReferenceListViewfunc (*ListReferenceListsRequest) ProtoMessage
func (*ListReferenceListsRequest) ProtoMessage()func (*ListReferenceListsRequest) ProtoReflect
func (x *ListReferenceListsRequest) ProtoReflect() protoreflect.Messagefunc (*ListReferenceListsRequest) Reset
func (x *ListReferenceListsRequest) Reset()func (*ListReferenceListsRequest) String
func (x *ListReferenceListsRequest) String() stringListReferenceListsResponse
type ListReferenceListsResponse struct {
// The reference lists.
// Ordered in ascending alphabetical order by name.
ReferenceLists []*ReferenceList `protobuf:"bytes,1,rep,name=reference_lists,json=referenceLists,proto3" json:"reference_lists,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}A response to a request for a list of reference lists.
func (*ListReferenceListsResponse) Descriptor
func (*ListReferenceListsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListReferenceListsResponse.ProtoReflect.Descriptor instead.
func (*ListReferenceListsResponse) GetNextPageToken
func (x *ListReferenceListsResponse) GetNextPageToken() stringfunc (*ListReferenceListsResponse) GetReferenceLists
func (x *ListReferenceListsResponse) GetReferenceLists() []*ReferenceListfunc (*ListReferenceListsResponse) ProtoMessage
func (*ListReferenceListsResponse) ProtoMessage()func (*ListReferenceListsResponse) ProtoReflect
func (x *ListReferenceListsResponse) ProtoReflect() protoreflect.Messagefunc (*ListReferenceListsResponse) Reset
func (x *ListReferenceListsResponse) Reset()func (*ListReferenceListsResponse) String
func (x *ListReferenceListsResponse) String() stringListRetrohuntsRequest
type ListRetrohuntsRequest struct {
// Required. The rule that the retrohunts belong to.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of retrohunt to return. The service may return fewer
// than this value. If unspecified, at most 100 retrohunts will be returned.
// The maximum value is 1000; values above 1000 will be coerced to
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListRetrohunts` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListRetrohunts` must
// match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter that can be used to retrieve specific rule deployments.
// The following fields are filterable:
// state
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for ListRetrohunts method.
func (*ListRetrohuntsRequest) Descriptor
func (*ListRetrohuntsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRetrohuntsRequest.ProtoReflect.Descriptor instead.
func (*ListRetrohuntsRequest) GetFilter
func (x *ListRetrohuntsRequest) GetFilter() stringfunc (*ListRetrohuntsRequest) GetPageSize
func (x *ListRetrohuntsRequest) GetPageSize() int32func (*ListRetrohuntsRequest) GetPageToken
func (x *ListRetrohuntsRequest) GetPageToken() stringfunc (*ListRetrohuntsRequest) GetParent
func (x *ListRetrohuntsRequest) GetParent() stringfunc (*ListRetrohuntsRequest) ProtoMessage
func (*ListRetrohuntsRequest) ProtoMessage()func (*ListRetrohuntsRequest) ProtoReflect
func (x *ListRetrohuntsRequest) ProtoReflect() protoreflect.Messagefunc (*ListRetrohuntsRequest) Reset
func (x *ListRetrohuntsRequest) Reset()func (*ListRetrohuntsRequest) String
func (x *ListRetrohuntsRequest) String() stringListRetrohuntsResponse
type ListRetrohuntsResponse struct {
// The retrohunts from the specified rule.
Retrohunts []*Retrohunt `protobuf:"bytes,1,rep,name=retrohunts,proto3" json:"retrohunts,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListRetrohunts method.
func (*ListRetrohuntsResponse) Descriptor
func (*ListRetrohuntsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRetrohuntsResponse.ProtoReflect.Descriptor instead.
func (*ListRetrohuntsResponse) GetNextPageToken
func (x *ListRetrohuntsResponse) GetNextPageToken() stringfunc (*ListRetrohuntsResponse) GetRetrohunts
func (x *ListRetrohuntsResponse) GetRetrohunts() []*Retrohuntfunc (*ListRetrohuntsResponse) ProtoMessage
func (*ListRetrohuntsResponse) ProtoMessage()func (*ListRetrohuntsResponse) ProtoReflect
func (x *ListRetrohuntsResponse) ProtoReflect() protoreflect.Messagefunc (*ListRetrohuntsResponse) Reset
func (x *ListRetrohuntsResponse) Reset()func (*ListRetrohuntsResponse) String
func (x *ListRetrohuntsResponse) String() stringListRuleDeploymentsRequest
type ListRuleDeploymentsRequest struct {
// Required. The collection of all parents which own all rule deployments. The
// "-" wildcard token must be used as the rule identifier in the resource
// path. Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/-`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of rule deployments to return. The service may return
// fewer than this value. If unspecified, at most 100 rule deployments will be
// returned. The maximum value is 1000; values above 1000 will be coerced to
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListRuleDeployments` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListRuleDeployments`
// must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter that can be used to retrieve specific rule deployments.
// The following fields are filterable:
// archived, name
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for ListRuleDeployments.
func (*ListRuleDeploymentsRequest) Descriptor
func (*ListRuleDeploymentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRuleDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListRuleDeploymentsRequest) GetFilter
func (x *ListRuleDeploymentsRequest) GetFilter() stringfunc (*ListRuleDeploymentsRequest) GetPageSize
func (x *ListRuleDeploymentsRequest) GetPageSize() int32func (*ListRuleDeploymentsRequest) GetPageToken
func (x *ListRuleDeploymentsRequest) GetPageToken() stringfunc (*ListRuleDeploymentsRequest) GetParent
func (x *ListRuleDeploymentsRequest) GetParent() stringfunc (*ListRuleDeploymentsRequest) ProtoMessage
func (*ListRuleDeploymentsRequest) ProtoMessage()func (*ListRuleDeploymentsRequest) ProtoReflect
func (x *ListRuleDeploymentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListRuleDeploymentsRequest) Reset
func (x *ListRuleDeploymentsRequest) Reset()func (*ListRuleDeploymentsRequest) String
func (x *ListRuleDeploymentsRequest) String() stringListRuleDeploymentsResponse
type ListRuleDeploymentsResponse struct {
// The rule deployments from all rules.
RuleDeployments []*RuleDeployment `protobuf:"bytes,1,rep,name=rule_deployments,json=ruleDeployments,proto3" json:"rule_deployments,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListRuleDeployments.
func (*ListRuleDeploymentsResponse) Descriptor
func (*ListRuleDeploymentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRuleDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListRuleDeploymentsResponse) GetNextPageToken
func (x *ListRuleDeploymentsResponse) GetNextPageToken() stringfunc (*ListRuleDeploymentsResponse) GetRuleDeployments
func (x *ListRuleDeploymentsResponse) GetRuleDeployments() []*RuleDeploymentfunc (*ListRuleDeploymentsResponse) ProtoMessage
func (*ListRuleDeploymentsResponse) ProtoMessage()func (*ListRuleDeploymentsResponse) ProtoReflect
func (x *ListRuleDeploymentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListRuleDeploymentsResponse) Reset
func (x *ListRuleDeploymentsResponse) Reset()func (*ListRuleDeploymentsResponse) String
func (x *ListRuleDeploymentsResponse) String() stringListRuleRevisionsRequest
type ListRuleRevisionsRequest struct {
// Required. The name of the rule to list revisions for.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The maximum number of revisions to return per page. The service may return
// fewer than this value. If unspecified, at most 100 revisions will be
// returned. The maximum value is 1000; values above 1000 will be coerced to
// 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The page token, received from a previous `ListRuleRevisions` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListRuleRevisions`
// must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The view field indicates the scope of fields to populate for the revision
// being returned. If unspecified, defaults to BASIC.
View RuleView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.chronicle.v1.RuleView" json:"view,omitempty"`
// contains filtered or unexported fields
}Request message for ListRuleRevisions method.
func (*ListRuleRevisionsRequest) Descriptor
func (*ListRuleRevisionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRuleRevisionsRequest.ProtoReflect.Descriptor instead.
func (*ListRuleRevisionsRequest) GetName
func (x *ListRuleRevisionsRequest) GetName() stringfunc (*ListRuleRevisionsRequest) GetPageSize
func (x *ListRuleRevisionsRequest) GetPageSize() int32func (*ListRuleRevisionsRequest) GetPageToken
func (x *ListRuleRevisionsRequest) GetPageToken() stringfunc (*ListRuleRevisionsRequest) GetView
func (x *ListRuleRevisionsRequest) GetView() RuleViewfunc (*ListRuleRevisionsRequest) ProtoMessage
func (*ListRuleRevisionsRequest) ProtoMessage()func (*ListRuleRevisionsRequest) ProtoReflect
func (x *ListRuleRevisionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListRuleRevisionsRequest) Reset
func (x *ListRuleRevisionsRequest) Reset()func (*ListRuleRevisionsRequest) String
func (x *ListRuleRevisionsRequest) String() stringListRuleRevisionsResponse
type ListRuleRevisionsResponse struct {
// The revisions of the rule.
Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// A token that can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListRuleRevisions method.
func (*ListRuleRevisionsResponse) Descriptor
func (*ListRuleRevisionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRuleRevisionsResponse.ProtoReflect.Descriptor instead.
func (*ListRuleRevisionsResponse) GetNextPageToken
func (x *ListRuleRevisionsResponse) GetNextPageToken() stringfunc (*ListRuleRevisionsResponse) GetRules
func (x *ListRuleRevisionsResponse) GetRules() []*Rulefunc (*ListRuleRevisionsResponse) ProtoMessage
func (*ListRuleRevisionsResponse) ProtoMessage()func (*ListRuleRevisionsResponse) ProtoReflect
func (x *ListRuleRevisionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListRuleRevisionsResponse) Reset
func (x *ListRuleRevisionsResponse) Reset()func (*ListRuleRevisionsResponse) String
func (x *ListRuleRevisionsResponse) String() stringListRulesRequest
type ListRulesRequest struct {
// Required. The parent, which owns this collection of rules.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of rules to return. The service may return fewer than
// this value. If unspecified, at most 100 rules will be returned. The
// maximum value is 1000; values above 1000 will be coerced to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListRules` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListRules`
// must match the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// view indicates the scope of fields to populate for the Rule being returned.
// If unspecified, defaults to BASIC.
View RuleView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.chronicle.v1.RuleView" json:"view,omitempty"`
// Only the following filters are allowed:
// "reference_lists:{reference_list_name}"
// "data_tables:{data_table_name}"
// "display_name:{display_name}"
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for ListRules method.
func (*ListRulesRequest) Descriptor
func (*ListRulesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRulesRequest.ProtoReflect.Descriptor instead.
func (*ListRulesRequest) GetFilter
func (x *ListRulesRequest) GetFilter() stringfunc (*ListRulesRequest) GetPageSize
func (x *ListRulesRequest) GetPageSize() int32func (*ListRulesRequest) GetPageToken
func (x *ListRulesRequest) GetPageToken() stringfunc (*ListRulesRequest) GetParent
func (x *ListRulesRequest) GetParent() stringfunc (*ListRulesRequest) GetView
func (x *ListRulesRequest) GetView() RuleViewfunc (*ListRulesRequest) ProtoMessage
func (*ListRulesRequest) ProtoMessage()func (*ListRulesRequest) ProtoReflect
func (x *ListRulesRequest) ProtoReflect() protoreflect.Messagefunc (*ListRulesRequest) Reset
func (x *ListRulesRequest) Reset()func (*ListRulesRequest) String
func (x *ListRulesRequest) String() stringListRulesResponse
type ListRulesResponse struct {
// The rules from the specified instance.
Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for ListRules method.
func (*ListRulesResponse) Descriptor
func (*ListRulesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRulesResponse.ProtoReflect.Descriptor instead.
func (*ListRulesResponse) GetNextPageToken
func (x *ListRulesResponse) GetNextPageToken() stringfunc (*ListRulesResponse) GetRules
func (x *ListRulesResponse) GetRules() []*Rulefunc (*ListRulesResponse) ProtoMessage
func (*ListRulesResponse) ProtoMessage()func (*ListRulesResponse) ProtoReflect
func (x *ListRulesResponse) ProtoReflect() protoreflect.Messagefunc (*ListRulesResponse) Reset
func (x *ListRulesResponse) Reset()func (*ListRulesResponse) String
func (x *ListRulesResponse) String() stringListWatchlistsRequest
type ListWatchlistsRequest struct {
// Required. The parent, which owns this collection of watchlists.
// Format: `projects/{project}/locations/{location}/instances/{instance}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of watchlists to return.
// The service may return fewer than this value.
// If unspecified, at most 200 watchlists will be returned.
// The maximum value is 200; values above 200 will be coerced to 200.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListWatchlists` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `ListWatchlists` must match the call that provided the page
// token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Which watchlist to return in aip.dev/160 form.
// Currently, only the following filters are supported:
// - `watchlist_user_preferences.pinned=true`
// - `has_entity([ENTITY_INDICATOR],[ENTITY_TYPE])`
// - `has_entity([ENTITY_INDICATOR],[ENTITY_TYPE],[NAMESPACE])`
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request message for listing watchlists.
func (*ListWatchlistsRequest) Descriptor
func (*ListWatchlistsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListWatchlistsRequest.ProtoReflect.Descriptor instead.
func (*ListWatchlistsRequest) GetFilter
func (x *ListWatchlistsRequest) GetFilter() stringfunc (*ListWatchlistsRequest) GetPageSize
func (x *ListWatchlistsRequest) GetPageSize() int32func (*ListWatchlistsRequest) GetPageToken
func (x *ListWatchlistsRequest) GetPageToken() stringfunc (*ListWatchlistsRequest) GetParent
func (x *ListWatchlistsRequest) GetParent() stringfunc (*ListWatchlistsRequest) ProtoMessage
func (*ListWatchlistsRequest) ProtoMessage()func (*ListWatchlistsRequest) ProtoReflect
func (x *ListWatchlistsRequest) ProtoReflect() protoreflect.Messagefunc (*ListWatchlistsRequest) Reset
func (x *ListWatchlistsRequest) Reset()func (*ListWatchlistsRequest) String
func (x *ListWatchlistsRequest) String() stringListWatchlistsResponse
type ListWatchlistsResponse struct {
// Optional. The watchlists from the specified instance.
Watchlists []*Watchlist `protobuf:"bytes,1,rep,name=watchlists,proto3" json:"watchlists,omitempty"`
// Optional. A token, which can be sent as `page_token` to retrieve the next
// page. If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response message for listing watchlists.
func (*ListWatchlistsResponse) Descriptor
func (*ListWatchlistsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListWatchlistsResponse.ProtoReflect.Descriptor instead.
func (*ListWatchlistsResponse) GetNextPageToken
func (x *ListWatchlistsResponse) GetNextPageToken() stringfunc (*ListWatchlistsResponse) GetWatchlists
func (x *ListWatchlistsResponse) GetWatchlists() []*Watchlistfunc (*ListWatchlistsResponse) ProtoMessage
func (*ListWatchlistsResponse) ProtoMessage()func (*ListWatchlistsResponse) ProtoReflect
func (x *ListWatchlistsResponse) ProtoReflect() protoreflect.Messagefunc (*ListWatchlistsResponse) Reset
func (x *ListWatchlistsResponse) Reset()func (*ListWatchlistsResponse) String
func (x *ListWatchlistsResponse) String() stringReferenceList
type ReferenceList struct {
// Identifier. The resource name of the reference list.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/referenceLists/{reference_list}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The unique display name of the reference list.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The timestamp when the reference list was last updated.
RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`
// Required. A user-provided description of the reference list.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Required. The entries of the reference list.
// When listed, they are returned in the order that was specified at creation
// or update. The combined size of the values of the reference list may not
// exceed 6MB.
// This is returned only when the view is REFERENCE_LIST_VIEW_FULL.
Entries []*ReferenceListEntry `protobuf:"bytes,5,rep,name=entries,proto3" json:"entries,omitempty"`
// Output only. The resource names for the associated self-authored Rules that
// use this reference list. This is returned only when the view is
// REFERENCE_LIST_VIEW_FULL.
Rules []string `protobuf:"bytes,6,rep,name=rules,proto3" json:"rules,omitempty"`
// Required. The syntax type indicating how list entries should be validated.
SyntaxType ReferenceListSyntaxType `protobuf:"varint,8,opt,name=syntax_type,json=syntaxType,proto3,enum=google.cloud.chronicle.v1.ReferenceListSyntaxType" json:"syntax_type,omitempty"`
// Output only. The count of self-authored rules using the reference list.
RuleAssociationsCount int32 `protobuf:"varint,9,opt,name=rule_associations_count,json=ruleAssociationsCount,proto3" json:"rule_associations_count,omitempty"`
// The scope info of the reference list.
// During reference list creation, if this field is not set, the reference
// list without scopes (an unscoped list) will be created for an unscoped
// user. For a scoped user, this field must be set. During reference list
// update, if scope_info is requested to be updated, this field must be set.
ScopeInfo *ScopeInfo `protobuf:"bytes,11,opt,name=scope_info,json=scopeInfo,proto3" json:"scope_info,omitempty"`
// contains filtered or unexported fields
}A reference list. Reference lists are user-defined lists of values which users can use in multiple Rules.
func (*ReferenceList) Descriptor
func (*ReferenceList) Descriptor() ([]byte, []int)Deprecated: Use ReferenceList.ProtoReflect.Descriptor instead.
func (*ReferenceList) GetDescription
func (x *ReferenceList) GetDescription() stringfunc (*ReferenceList) GetDisplayName
func (x *ReferenceList) GetDisplayName() stringfunc (*ReferenceList) GetEntries
func (x *ReferenceList) GetEntries() []*ReferenceListEntryfunc (*ReferenceList) GetName
func (x *ReferenceList) GetName() stringfunc (*ReferenceList) GetRevisionCreateTime
func (x *ReferenceList) GetRevisionCreateTime() *timestamppb.Timestampfunc (*ReferenceList) GetRuleAssociationsCount
func (x *ReferenceList) GetRuleAssociationsCount() int32func (*ReferenceList) GetRules
func (x *ReferenceList) GetRules() []stringfunc (*ReferenceList) GetScopeInfo
func (x *ReferenceList) GetScopeInfo() *ScopeInfofunc (*ReferenceList) GetSyntaxType
func (x *ReferenceList) GetSyntaxType() ReferenceListSyntaxTypefunc (*ReferenceList) ProtoMessage
func (*ReferenceList) ProtoMessage()func (*ReferenceList) ProtoReflect
func (x *ReferenceList) ProtoReflect() protoreflect.Messagefunc (*ReferenceList) Reset
func (x *ReferenceList) Reset()func (*ReferenceList) String
func (x *ReferenceList) String() stringReferenceListEntry
type ReferenceListEntry struct {
// Required. The value of the entry. Maximum length is 512 characters.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}An entry in a reference list.
func (*ReferenceListEntry) Descriptor
func (*ReferenceListEntry) Descriptor() ([]byte, []int)Deprecated: Use ReferenceListEntry.ProtoReflect.Descriptor instead.
func (*ReferenceListEntry) GetValue
func (x *ReferenceListEntry) GetValue() stringfunc (*ReferenceListEntry) ProtoMessage
func (*ReferenceListEntry) ProtoMessage()func (*ReferenceListEntry) ProtoReflect
func (x *ReferenceListEntry) ProtoReflect() protoreflect.Messagefunc (*ReferenceListEntry) Reset
func (x *ReferenceListEntry) Reset()func (*ReferenceListEntry) String
func (x *ReferenceListEntry) String() stringReferenceListScope
type ReferenceListScope struct {
// Optional. The list of scope names of the reference list. The scope names
// should be full resource names and should be of the format:
// `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.
ScopeNames []string `protobuf:"bytes,1,rep,name=scope_names,json=scopeNames,proto3" json:"scope_names,omitempty"`
// contains filtered or unexported fields
}ReferenceListScope specifies the list of scope names of the reference list.
func (*ReferenceListScope) Descriptor
func (*ReferenceListScope) Descriptor() ([]byte, []int)Deprecated: Use ReferenceListScope.ProtoReflect.Descriptor instead.
func (*ReferenceListScope) GetScopeNames
func (x *ReferenceListScope) GetScopeNames() []stringfunc (*ReferenceListScope) ProtoMessage
func (*ReferenceListScope) ProtoMessage()func (*ReferenceListScope) ProtoReflect
func (x *ReferenceListScope) ProtoReflect() protoreflect.Messagefunc (*ReferenceListScope) Reset
func (x *ReferenceListScope) Reset()func (*ReferenceListScope) String
func (x *ReferenceListScope) String() stringReferenceListServiceClient
type ReferenceListServiceClient interface {
// Gets a single reference list.
GetReferenceList(ctx context.Context, in *GetReferenceListRequest, opts ...grpc.CallOption) (*ReferenceList, error)
// Lists a collection of reference lists.
ListReferenceLists(ctx context.Context, in *ListReferenceListsRequest, opts ...grpc.CallOption) (*ListReferenceListsResponse, error)
// Creates a new reference list.
CreateReferenceList(ctx context.Context, in *CreateReferenceListRequest, opts ...grpc.CallOption) (*ReferenceList, error)
// Updates an existing reference list.
UpdateReferenceList(ctx context.Context, in *UpdateReferenceListRequest, opts ...grpc.CallOption) (*ReferenceList, error)
}ReferenceListServiceClient is the client API for ReferenceListService 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.
func NewReferenceListServiceClient
func NewReferenceListServiceClient(cc grpc.ClientConnInterface) ReferenceListServiceClientReferenceListServiceServer
type ReferenceListServiceServer interface {
// Gets a single reference list.
GetReferenceList(context.Context, *GetReferenceListRequest) (*ReferenceList, error)
// Lists a collection of reference lists.
ListReferenceLists(context.Context, *ListReferenceListsRequest) (*ListReferenceListsResponse, error)
// Creates a new reference list.
CreateReferenceList(context.Context, *CreateReferenceListRequest) (*ReferenceList, error)
// Updates an existing reference list.
UpdateReferenceList(context.Context, *UpdateReferenceListRequest) (*ReferenceList, error)
}ReferenceListServiceServer is the server API for ReferenceListService service. All implementations should embed UnimplementedReferenceListServiceServer for forward compatibility
ReferenceListSyntaxType
type ReferenceListSyntaxType int32The syntax type indicating how list entries should be validated.
ReferenceListSyntaxType_REFERENCE_LIST_SYNTAX_TYPE_UNSPECIFIED, ReferenceListSyntaxType_REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING, ReferenceListSyntaxType_REFERENCE_LIST_SYNTAX_TYPE_REGEX, ReferenceListSyntaxType_REFERENCE_LIST_SYNTAX_TYPE_CIDR
const (
// Defaults to REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING.
ReferenceListSyntaxType_REFERENCE_LIST_SYNTAX_TYPE_UNSPECIFIED ReferenceListSyntaxType = 0
// List contains plain text patterns.
ReferenceListSyntaxType_REFERENCE_LIST_SYNTAX_TYPE_PLAIN_TEXT_STRING ReferenceListSyntaxType = 1
// List contains only Regular Expression patterns.
ReferenceListSyntaxType_REFERENCE_LIST_SYNTAX_TYPE_REGEX ReferenceListSyntaxType = 2
// List contains only CIDR patterns.
ReferenceListSyntaxType_REFERENCE_LIST_SYNTAX_TYPE_CIDR ReferenceListSyntaxType = 3
)func (ReferenceListSyntaxType) Descriptor
func (ReferenceListSyntaxType) Descriptor() protoreflect.EnumDescriptorfunc (ReferenceListSyntaxType) Enum
func (x ReferenceListSyntaxType) Enum() *ReferenceListSyntaxTypefunc (ReferenceListSyntaxType) EnumDescriptor
func (ReferenceListSyntaxType) EnumDescriptor() ([]byte, []int)Deprecated: Use ReferenceListSyntaxType.Descriptor instead.
func (ReferenceListSyntaxType) Number
func (x ReferenceListSyntaxType) Number() protoreflect.EnumNumberfunc (ReferenceListSyntaxType) String
func (x ReferenceListSyntaxType) String() stringfunc (ReferenceListSyntaxType) Type
func (ReferenceListSyntaxType) Type() protoreflect.EnumTypeReferenceListView
type ReferenceListView int32ReferenceListView is a mechanism for viewing partial responses of the ReferenceList resource.
ReferenceListView_REFERENCE_LIST_VIEW_UNSPECIFIED, ReferenceListView_REFERENCE_LIST_VIEW_BASIC, ReferenceListView_REFERENCE_LIST_VIEW_FULL
const (
// The default / unset value.
// The API will default to the BASIC view for ListReferenceLists.
// The API will default to the FULL view for methods that return a single
// ReferenceList resource.
ReferenceListView_REFERENCE_LIST_VIEW_UNSPECIFIED ReferenceListView = 0
// Include metadata about the ReferenceList.
// This is the default view for ListReferenceLists.
ReferenceListView_REFERENCE_LIST_VIEW_BASIC ReferenceListView = 1
// Include all details about the ReferenceList: metadata, content lines,
// associated rule counts. This is the default view for GetReferenceList.
ReferenceListView_REFERENCE_LIST_VIEW_FULL ReferenceListView = 2
)func (ReferenceListView) Descriptor
func (ReferenceListView) Descriptor() protoreflect.EnumDescriptorfunc (ReferenceListView) Enum
func (x ReferenceListView) Enum() *ReferenceListViewfunc (ReferenceListView) EnumDescriptor
func (ReferenceListView) EnumDescriptor() ([]byte, []int)Deprecated: Use ReferenceListView.Descriptor instead.
func (ReferenceListView) Number
func (x ReferenceListView) Number() protoreflect.EnumNumberfunc (ReferenceListView) String
func (x ReferenceListView) String() stringfunc (ReferenceListView) Type
func (ReferenceListView) Type() protoreflect.EnumTypeRetrohunt
type Retrohunt struct {
// The resource name of the retrohunt.
// Retrohunt is the child of a rule revision. {rule} in the format below is
// structured as {rule_id@revision_id}.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The start and end time of the event time range this retrohunt
// processes.
ProcessInterval *interval.Interval `protobuf:"bytes,2,opt,name=process_interval,json=processInterval,proto3" json:"process_interval,omitempty"`
// Output only. The start and end time of the retrohunt execution. If the
// retrohunt is not yet finished, the end time of the interval will not be
// populated.
ExecutionInterval *interval.Interval `protobuf:"bytes,3,opt,name=execution_interval,json=executionInterval,proto3" json:"execution_interval,omitempty"`
// Output only. The state of the retrohunt.
State Retrohunt_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.chronicle.v1.Retrohunt_State" json:"state,omitempty"`
// Output only. Percent progress of the retrohunt towards completion, from
// 0.00 to 100.00.
ProgressPercentage float32 `protobuf:"fixed32,5,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"`
// contains filtered or unexported fields
}Retrohunt is an execution of a Rule over a time range in the past.
func (*Retrohunt) Descriptor
Deprecated: Use Retrohunt.ProtoReflect.Descriptor instead.
func (*Retrohunt) GetExecutionInterval
func (*Retrohunt) GetName
func (*Retrohunt) GetProcessInterval
func (*Retrohunt) GetProgressPercentage
func (*Retrohunt) GetState
func (x *Retrohunt) GetState() Retrohunt_Statefunc (*Retrohunt) ProtoMessage
func (*Retrohunt) ProtoMessage()func (*Retrohunt) ProtoReflect
func (x *Retrohunt) ProtoReflect() protoreflect.Messagefunc (*Retrohunt) Reset
func (x *Retrohunt) Reset()func (*Retrohunt) String
RetrohuntMetadata
type RetrohuntMetadata struct {
// The name of the retrohunt.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
Retrohunt string `protobuf:"bytes,1,opt,name=retrohunt,proto3" json:"retrohunt,omitempty"`
// The start and end time of the retrohunt execution. If the retrohunt is not
// yet finished, the end time of the interval will not be filled.
ExecutionInterval *interval.Interval `protobuf:"bytes,2,opt,name=execution_interval,json=executionInterval,proto3" json:"execution_interval,omitempty"`
// Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
ProgressPercentage float32 `protobuf:"fixed32,3,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"`
// contains filtered or unexported fields
}Operation Metadata for Retrohunts.
func (*RetrohuntMetadata) Descriptor
func (*RetrohuntMetadata) Descriptor() ([]byte, []int)Deprecated: Use RetrohuntMetadata.ProtoReflect.Descriptor instead.
func (*RetrohuntMetadata) GetExecutionInterval
func (x *RetrohuntMetadata) GetExecutionInterval() *interval.Intervalfunc (*RetrohuntMetadata) GetProgressPercentage
func (x *RetrohuntMetadata) GetProgressPercentage() float32func (*RetrohuntMetadata) GetRetrohunt
func (x *RetrohuntMetadata) GetRetrohunt() stringfunc (*RetrohuntMetadata) ProtoMessage
func (*RetrohuntMetadata) ProtoMessage()func (*RetrohuntMetadata) ProtoReflect
func (x *RetrohuntMetadata) ProtoReflect() protoreflect.Messagefunc (*RetrohuntMetadata) Reset
func (x *RetrohuntMetadata) Reset()func (*RetrohuntMetadata) String
func (x *RetrohuntMetadata) String() stringRetrohunt_State
type Retrohunt_State int32The possible states a retrohunt can be in.
Retrohunt_STATE_UNSPECIFIED, Retrohunt_RUNNING, Retrohunt_DONE, Retrohunt_CANCELLED, Retrohunt_FAILED
const (
// Unspecified or unknown retrohunt state.
Retrohunt_STATE_UNSPECIFIED Retrohunt_State = 0
// Running state.
Retrohunt_RUNNING Retrohunt_State = 1
// Done state.
Retrohunt_DONE Retrohunt_State = 2
// Cancelled state.
Retrohunt_CANCELLED Retrohunt_State = 3
// Failed state.
Retrohunt_FAILED Retrohunt_State = 4
)func (Retrohunt_State) Descriptor
func (Retrohunt_State) Descriptor() protoreflect.EnumDescriptorfunc (Retrohunt_State) Enum
func (x Retrohunt_State) Enum() *Retrohunt_Statefunc (Retrohunt_State) EnumDescriptor
func (Retrohunt_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Retrohunt_State.Descriptor instead.
func (Retrohunt_State) Number
func (x Retrohunt_State) Number() protoreflect.EnumNumberfunc (Retrohunt_State) String
func (x Retrohunt_State) String() stringfunc (Retrohunt_State) Type
func (Retrohunt_State) Type() protoreflect.EnumTypeRule
type Rule struct {
// Identifier. Full resource name for the rule.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The revision ID of the rule.
// A new revision is created whenever the rule text is changed in any way.
// Format: `v_{10 digits}_{9 digits}`
// Populated in REVISION_METADATA_ONLY view and FULL view.
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
// Output only. Display name of the rule.
// Populated in BASIC view and FULL view.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The YARA-L content of the rule.
// Populated in FULL view.
Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
// Output only. The author of the rule. Extracted from the meta section of
// text. Populated in BASIC view and FULL view.
Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"`
// Output only. The severity of the rule as specified in the meta section of
// text. Populated in BASIC view and FULL view.
Severity *Severity `protobuf:"bytes,6,opt,name=severity,proto3" json:"severity,omitempty"`
// Output only. Additional metadata specified in the meta section of text.
// Populated in FULL view.
Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. The timestamp of when the rule was created.
// Populated in FULL view.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The timestamp of when the rule revision was created.
// Populated in FULL, REVISION_METADATA_ONLY views.
RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`
// Output only. The current compilation state of the rule.
// Populated in FULL view.
CompilationState Rule_CompilationState `protobuf:"varint,10,opt,name=compilation_state,json=compilationState,proto3,enum=google.cloud.chronicle.v1.Rule_CompilationState" json:"compilation_state,omitempty"`
// Output only. User-facing type of the rule. Extracted from the events
// section of rule text. Populated in BASIC view and FULL view.
Type RuleType `protobuf:"varint,12,opt,name=type,proto3,enum=google.cloud.chronicle.v1.RuleType" json:"type,omitempty"`
// Output only. Resource names of the reference lists used in this rule.
// Populated in FULL view.
ReferenceLists []string `protobuf:"bytes,13,rep,name=reference_lists,json=referenceLists,proto3" json:"reference_lists,omitempty"`
// Output only. The run frequencies that are allowed for the rule.
// Populated in BASIC view and FULL view.
AllowedRunFrequencies []RunFrequency `protobuf:"varint,14,rep,packed,name=allowed_run_frequencies,json=allowedRunFrequencies,proto3,enum=google.cloud.chronicle.v1.RunFrequency" json:"allowed_run_frequencies,omitempty"`
// The etag for this rule.
// If this is provided on update, the request will succeed if and only if it
// matches the server-computed value, and will fail with an ABORTED error
// otherwise.
// Populated in BASIC view and FULL view.
Etag string `protobuf:"bytes,15,opt,name=etag,proto3" json:"etag,omitempty"`
// Resource name of the DataAccessScope bound to this rule.
// Populated in BASIC view and FULL view.
// If reference lists are used in the rule, validations will be performed
// against this scope to ensure that the reference lists are compatible with
// both the user's and the rule's scopes.
// The scope should be in the format:
// `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope}`.
Scope string `protobuf:"bytes,16,opt,name=scope,proto3" json:"scope,omitempty"`
// Output only. A list of a rule's corresponding compilation diagnostic
// messages such as compilation errors and compilation warnings. Populated in
// FULL view.
CompilationDiagnostics []*CompilationDiagnostic `protobuf:"bytes,17,rep,name=compilation_diagnostics,json=compilationDiagnostics,proto3" json:"compilation_diagnostics,omitempty"`
// Output only. Indicate the rule can run in near real time live rule.
// If this is true, the rule uses the near real time live rule when the run
// frequency is set to LIVE.
NearRealTimeLiveRuleEligible bool `protobuf:"varint,18,opt,name=near_real_time_live_rule_eligible,json=nearRealTimeLiveRuleEligible,proto3" json:"near_real_time_live_rule_eligible,omitempty"`
// Output only. The set of inputs used in the rule. For example, if the rule
// uses $e.principal.hostname, then the uses_udm field will be true.
InputsUsed *InputsUsed `protobuf:"bytes,20,opt,name=inputs_used,json=inputsUsed,proto3" json:"inputs_used,omitempty"`
// contains filtered or unexported fields
}The Rule resource represents a user-created rule. NEXT TAG: 21
func (*Rule) Descriptor
Deprecated: Use Rule.ProtoReflect.Descriptor instead.
func (*Rule) GetAllowedRunFrequencies
func (x *Rule) GetAllowedRunFrequencies() []RunFrequencyfunc (*Rule) GetAuthor
func (*Rule) GetCompilationDiagnostics
func (x *Rule) GetCompilationDiagnostics() []*CompilationDiagnosticfunc (*Rule) GetCompilationState
func (x *Rule) GetCompilationState() Rule_CompilationStatefunc (*Rule) GetCreateTime
func (x *Rule) GetCreateTime() *timestamppb.Timestampfunc (*Rule) GetDisplayName
func (*Rule) GetEtag
func (*Rule) GetInputsUsed
func (x *Rule) GetInputsUsed() *InputsUsedfunc (*Rule) GetMetadata
func (*Rule) GetName
func (*Rule) GetNearRealTimeLiveRuleEligible
func (*Rule) GetReferenceLists
func (*Rule) GetRevisionCreateTime
func (x *Rule) GetRevisionCreateTime() *timestamppb.Timestampfunc (*Rule) GetRevisionId
func (*Rule) GetScope
func (*Rule) GetSeverity
func (*Rule) GetText
func (*Rule) GetType
func (*Rule) ProtoMessage
func (*Rule) ProtoMessage()func (*Rule) ProtoReflect
func (x *Rule) ProtoReflect() protoreflect.Messagefunc (*Rule) Reset
func (x *Rule) Reset()func (*Rule) String
RuleDeployment
type RuleDeployment struct {
// Required. The resource name of the rule deployment.
// Note that RuleDeployment is a child of the overall Rule, not any individual
// revision, so the resource ID segment for the Rule resource must not
// reference a specific revision.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Whether the rule is currently deployed continuously against incoming data.
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Whether detections resulting from this deployment should be considered
// alerts.
Alerting bool `protobuf:"varint,3,opt,name=alerting,proto3" json:"alerting,omitempty"`
// The archive state of the rule deployment.
// Cannot be set to true unless enabled is set to false.
// If set to true, alerting will automatically be set to false.
// If currently set to true, enabled, alerting, and run_frequency cannot be
// updated.
Archived bool `protobuf:"varint,4,opt,name=archived,proto3" json:"archived,omitempty"`
// Output only. The timestamp when the rule deployment archive state was last
// set to true. If the rule deployment's current archive state is not set to
// true, the field will be empty.
ArchiveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=archive_time,json=archiveTime,proto3" json:"archive_time,omitempty"`
// The run frequency of the rule deployment.
RunFrequency RunFrequency `protobuf:"varint,6,opt,name=run_frequency,json=runFrequency,proto3,enum=google.cloud.chronicle.v1.RunFrequency" json:"run_frequency,omitempty"`
// Output only. The execution state of the rule deployment.
ExecutionState RuleDeployment_ExecutionState `protobuf:"varint,7,opt,name=execution_state,json=executionState,proto3,enum=google.cloud.chronicle.v1.RuleDeployment_ExecutionState" json:"execution_state,omitempty"`
// Output only. The names of the associated/chained producer rules. Rules are
// considered producers for this rule if this rule explicitly filters on their
// ruleid. Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
ProducerRules []string `protobuf:"bytes,8,rep,name=producer_rules,json=producerRules,proto3" json:"producer_rules,omitempty"`
// Output only. The names of the associated/chained consumer rules. Rules are
// considered consumers of this rule if their rule text explicitly filters on
// this rule's ruleid. Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
ConsumerRules []string `protobuf:"bytes,9,rep,name=consumer_rules,json=consumerRules,proto3" json:"consumer_rules,omitempty"`
// Output only. The timestamp when the rule deployment alert state was lastly
// changed. This is filled regardless of the current alert state. E.g. if the
// current alert status is false, this timestamp will be the timestamp when
// the alert status was changed to false.
LastAlertStatusChangeTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_alert_status_change_time,json=lastAlertStatusChangeTime,proto3" json:"last_alert_status_change_time,omitempty"`
// contains filtered or unexported fields
}The RuleDeployment resource represents the deployment state of a Rule.
func (*RuleDeployment) Descriptor
func (*RuleDeployment) Descriptor() ([]byte, []int)Deprecated: Use RuleDeployment.ProtoReflect.Descriptor instead.
func (*RuleDeployment) GetAlerting
func (x *RuleDeployment) GetAlerting() boolfunc (*RuleDeployment) GetArchiveTime
func (x *RuleDeployment) GetArchiveTime() *timestamppb.Timestampfunc (*RuleDeployment) GetArchived
func (x *RuleDeployment) GetArchived() boolfunc (*RuleDeployment) GetConsumerRules
func (x *RuleDeployment) GetConsumerRules() []stringfunc (*RuleDeployment) GetEnabled
func (x *RuleDeployment) GetEnabled() boolfunc (*RuleDeployment) GetExecutionState
func (x *RuleDeployment) GetExecutionState() RuleDeployment_ExecutionStatefunc (*RuleDeployment) GetLastAlertStatusChangeTime
func (x *RuleDeployment) GetLastAlertStatusChangeTime() *timestamppb.Timestampfunc (*RuleDeployment) GetName
func (x *RuleDeployment) GetName() stringfunc (*RuleDeployment) GetProducerRules
func (x *RuleDeployment) GetProducerRules() []stringfunc (*RuleDeployment) GetRunFrequency
func (x *RuleDeployment) GetRunFrequency() RunFrequencyfunc (*RuleDeployment) ProtoMessage
func (*RuleDeployment) ProtoMessage()func (*RuleDeployment) ProtoReflect
func (x *RuleDeployment) ProtoReflect() protoreflect.Messagefunc (*RuleDeployment) Reset
func (x *RuleDeployment) Reset()func (*RuleDeployment) String
func (x *RuleDeployment) String() stringRuleDeployment_ExecutionState
type RuleDeployment_ExecutionState int32The possible execution states the rule deployment can be in.
RuleDeployment_EXECUTION_STATE_UNSPECIFIED, RuleDeployment_DEFAULT, RuleDeployment_LIMITED, RuleDeployment_PAUSED
const (
// Unspecified or unknown execution state.
RuleDeployment_EXECUTION_STATE_UNSPECIFIED RuleDeployment_ExecutionState = 0
// Default execution state.
RuleDeployment_DEFAULT RuleDeployment_ExecutionState = 1
// Rules in limited state may not have their executions guaranteed.
RuleDeployment_LIMITED RuleDeployment_ExecutionState = 2
// Paused rules are not executed at all.
RuleDeployment_PAUSED RuleDeployment_ExecutionState = 3
)func (RuleDeployment_ExecutionState) Descriptor
func (RuleDeployment_ExecutionState) Descriptor() protoreflect.EnumDescriptorfunc (RuleDeployment_ExecutionState) Enum
func (x RuleDeployment_ExecutionState) Enum() *RuleDeployment_ExecutionStatefunc (RuleDeployment_ExecutionState) EnumDescriptor
func (RuleDeployment_ExecutionState) EnumDescriptor() ([]byte, []int)Deprecated: Use RuleDeployment_ExecutionState.Descriptor instead.
func (RuleDeployment_ExecutionState) Number
func (x RuleDeployment_ExecutionState) Number() protoreflect.EnumNumberfunc (RuleDeployment_ExecutionState) String
func (x RuleDeployment_ExecutionState) String() stringfunc (RuleDeployment_ExecutionState) Type
func (RuleDeployment_ExecutionState) Type() protoreflect.EnumTypeRuleServiceClient
type RuleServiceClient interface {
// Creates a new Rule.
CreateRule(ctx context.Context, in *CreateRuleRequest, opts ...grpc.CallOption) (*Rule, error)
// Gets a Rule.
GetRule(ctx context.Context, in *GetRuleRequest, opts ...grpc.CallOption) (*Rule, error)
// Lists Rules.
ListRules(ctx context.Context, in *ListRulesRequest, opts ...grpc.CallOption) (*ListRulesResponse, error)
// Updates a Rule.
UpdateRule(ctx context.Context, in *UpdateRuleRequest, opts ...grpc.CallOption) (*Rule, error)
// Deletes a Rule.
DeleteRule(ctx context.Context, in *DeleteRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists all revisions of the rule.
ListRuleRevisions(ctx context.Context, in *ListRuleRevisionsRequest, opts ...grpc.CallOption) (*ListRuleRevisionsResponse, error)
// Create a Retrohunt.
CreateRetrohunt(ctx context.Context, in *CreateRetrohuntRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Get a Retrohunt.
GetRetrohunt(ctx context.Context, in *GetRetrohuntRequest, opts ...grpc.CallOption) (*Retrohunt, error)
// List Retrohunts.
ListRetrohunts(ctx context.Context, in *ListRetrohuntsRequest, opts ...grpc.CallOption) (*ListRetrohuntsResponse, error)
// Gets a RuleDeployment.
GetRuleDeployment(ctx context.Context, in *GetRuleDeploymentRequest, opts ...grpc.CallOption) (*RuleDeployment, error)
// Lists RuleDeployments across all Rules.
ListRuleDeployments(ctx context.Context, in *ListRuleDeploymentsRequest, opts ...grpc.CallOption) (*ListRuleDeploymentsResponse, error)
// Updates a RuleDeployment.
// Failures are not necessarily atomic. If there is a request to update
// multiple fields, and any update to a single field fails, an error will be
// returned, but other fields may remain successfully updated.
UpdateRuleDeployment(ctx context.Context, in *UpdateRuleDeploymentRequest, opts ...grpc.CallOption) (*RuleDeployment, error)
}RuleServiceClient is the client API for RuleService 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.
func NewRuleServiceClient
func NewRuleServiceClient(cc grpc.ClientConnInterface) RuleServiceClientRuleServiceServer
type RuleServiceServer interface {
// Creates a new Rule.
CreateRule(context.Context, *CreateRuleRequest) (*Rule, error)
// Gets a Rule.
GetRule(context.Context, *GetRuleRequest) (*Rule, error)
// Lists Rules.
ListRules(context.Context, *ListRulesRequest) (*ListRulesResponse, error)
// Updates a Rule.
UpdateRule(context.Context, *UpdateRuleRequest) (*Rule, error)
// Deletes a Rule.
DeleteRule(context.Context, *DeleteRuleRequest) (*emptypb.Empty, error)
// Lists all revisions of the rule.
ListRuleRevisions(context.Context, *ListRuleRevisionsRequest) (*ListRuleRevisionsResponse, error)
// Create a Retrohunt.
CreateRetrohunt(context.Context, *CreateRetrohuntRequest) (*longrunningpb.Operation, error)
// Get a Retrohunt.
GetRetrohunt(context.Context, *GetRetrohuntRequest) (*Retrohunt, error)
// List Retrohunts.
ListRetrohunts(context.Context, *ListRetrohuntsRequest) (*ListRetrohuntsResponse, error)
// Gets a RuleDeployment.
GetRuleDeployment(context.Context, *GetRuleDeploymentRequest) (*RuleDeployment, error)
// Lists RuleDeployments across all Rules.
ListRuleDeployments(context.Context, *ListRuleDeploymentsRequest) (*ListRuleDeploymentsResponse, error)
// Updates a RuleDeployment.
// Failures are not necessarily atomic. If there is a request to update
// multiple fields, and any update to a single field fails, an error will be
// returned, but other fields may remain successfully updated.
UpdateRuleDeployment(context.Context, *UpdateRuleDeploymentRequest) (*RuleDeployment, error)
}RuleServiceServer is the server API for RuleService service. All implementations should embed UnimplementedRuleServiceServer for forward compatibility
RuleType
type RuleType int32RuleType indicates the YARA-L rule type of user-created and Google Cloud Threat Intelligence (GCTI) authored rules.
RuleType_RULE_TYPE_UNSPECIFIED, RuleType_SINGLE_EVENT, RuleType_MULTI_EVENT
const (
// The rule type is unspecified/unknown.
RuleType_RULE_TYPE_UNSPECIFIED RuleType = 0
// Rule checks for the existence of a single event.
RuleType_SINGLE_EVENT RuleType = 1
// Rule checks for correlation between multiple events
RuleType_MULTI_EVENT RuleType = 2
)func (RuleType) Descriptor
func (RuleType) Descriptor() protoreflect.EnumDescriptorfunc (RuleType) Enum
func (RuleType) EnumDescriptor
Deprecated: Use RuleType.Descriptor instead.
func (RuleType) Number
func (x RuleType) Number() protoreflect.EnumNumberfunc (RuleType) String
func (RuleType) Type
func (RuleType) Type() protoreflect.EnumTypeRuleView
type RuleView int32RuleView indicates the scope of fields to populate when returning the Rule resource.
RuleView_RULE_VIEW_UNSPECIFIED, RuleView_BASIC, RuleView_FULL, RuleView_REVISION_METADATA_ONLY
const (
// The default/unset value.
// The API will default to the BASIC view for ListRules/ListRuleRevisions.
// The API will default to the FULL view for GetRule.
RuleView_RULE_VIEW_UNSPECIFIED RuleView = 0
// Include basic metadata about the rule, but not the full contents.
// Returned fields include: revision_id, revision_create_time, display_name,
// author, severity, type, allowed_run_frequency,
// near_real_time_live_rule_eligible, etag, and scope.
// This is the default value for ListRules and ListRuleRevisions.
RuleView_BASIC RuleView = 1
// Include all fields.
// This is the default value for GetRule.
RuleView_FULL RuleView = 2
// Include basic metadata about the rule's revision only.
// Returned fields include: revision_id and revision_create_time.
RuleView_REVISION_METADATA_ONLY RuleView = 3
)func (RuleView) Descriptor
func (RuleView) Descriptor() protoreflect.EnumDescriptorfunc (RuleView) Enum
func (RuleView) EnumDescriptor
Deprecated: Use RuleView.Descriptor instead.
func (RuleView) Number
func (x RuleView) Number() protoreflect.EnumNumberfunc (RuleView) String
func (RuleView) Type
func (RuleView) Type() protoreflect.EnumTypeRule_CompilationState
type Rule_CompilationState int32The current compilation state of the rule.
Rule_COMPILATION_STATE_UNSPECIFIED, Rule_SUCCEEDED, Rule_FAILED
const (
// The compilation state is unspecified/unknown.
Rule_COMPILATION_STATE_UNSPECIFIED Rule_CompilationState = 0
// The Rule can successfully compile.
Rule_SUCCEEDED Rule_CompilationState = 1
// The Rule cannot successfully compile.
// This is possible if a backwards-incompatible change was made to the
// compiler.
Rule_FAILED Rule_CompilationState = 2
)func (Rule_CompilationState) Descriptor
func (Rule_CompilationState) Descriptor() protoreflect.EnumDescriptorfunc (Rule_CompilationState) Enum
func (x Rule_CompilationState) Enum() *Rule_CompilationStatefunc (Rule_CompilationState) EnumDescriptor
func (Rule_CompilationState) EnumDescriptor() ([]byte, []int)Deprecated: Use Rule_CompilationState.Descriptor instead.
func (Rule_CompilationState) Number
func (x Rule_CompilationState) Number() protoreflect.EnumNumberfunc (Rule_CompilationState) String
func (x Rule_CompilationState) String() stringfunc (Rule_CompilationState) Type
func (Rule_CompilationState) Type() protoreflect.EnumTypeRunFrequency
type RunFrequency int32RunFrequency indicates the run frequency at which a YARA-L 2 rule will run if enabled.
RunFrequency_RUN_FREQUENCY_UNSPECIFIED, RunFrequency_LIVE, RunFrequency_HOURLY, RunFrequency_DAILY
const (
// The run frequency is unspecified/unknown.
RunFrequency_RUN_FREQUENCY_UNSPECIFIED RunFrequency = 0
// Executes in real time.
RunFrequency_LIVE RunFrequency = 1
// Executes once per hour.
RunFrequency_HOURLY RunFrequency = 2
// Executes once per day.
RunFrequency_DAILY RunFrequency = 3
)func (RunFrequency) Descriptor
func (RunFrequency) Descriptor() protoreflect.EnumDescriptorfunc (RunFrequency) Enum
func (x RunFrequency) Enum() *RunFrequencyfunc (RunFrequency) EnumDescriptor
func (RunFrequency) EnumDescriptor() ([]byte, []int)Deprecated: Use RunFrequency.Descriptor instead.
func (RunFrequency) Number
func (x RunFrequency) Number() protoreflect.EnumNumberfunc (RunFrequency) String
func (x RunFrequency) String() stringfunc (RunFrequency) Type
func (RunFrequency) Type() protoreflect.EnumTypeScopeInfo
type ScopeInfo struct {
// Required. The list of scope names of the reference list, if the list is
// empty the reference list is treated as unscoped.
ReferenceListScope *ReferenceListScope `protobuf:"bytes,2,opt,name=reference_list_scope,json=referenceListScope,proto3" json:"reference_list_scope,omitempty"`
// contains filtered or unexported fields
}ScopeInfo specifies the scope info of the reference list.
func (*ScopeInfo) Descriptor
Deprecated: Use ScopeInfo.ProtoReflect.Descriptor instead.
func (*ScopeInfo) GetReferenceListScope
func (x *ScopeInfo) GetReferenceListScope() *ReferenceListScopefunc (*ScopeInfo) ProtoMessage
func (*ScopeInfo) ProtoMessage()func (*ScopeInfo) ProtoReflect
func (x *ScopeInfo) ProtoReflect() protoreflect.Messagefunc (*ScopeInfo) Reset
func (x *ScopeInfo) Reset()func (*ScopeInfo) String
Severity
type Severity struct {
// The display name of the severity level. Extracted from the meta section of
// the rule text.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}Severity represents the severity level of the rule.
func (*Severity) Descriptor
Deprecated: Use Severity.ProtoReflect.Descriptor instead.
func (*Severity) GetDisplayName
func (*Severity) ProtoMessage
func (*Severity) ProtoMessage()func (*Severity) ProtoReflect
func (x *Severity) ProtoReflect() protoreflect.Messagefunc (*Severity) Reset
func (x *Severity) Reset()func (*Severity) String
UnimplementedDataAccessControlServiceServer
type UnimplementedDataAccessControlServiceServer struct {
}UnimplementedDataAccessControlServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDataAccessControlServiceServer) CreateDataAccessLabel
func (UnimplementedDataAccessControlServiceServer) CreateDataAccessLabel(context.Context, *CreateDataAccessLabelRequest) (*DataAccessLabel, error)func (UnimplementedDataAccessControlServiceServer) CreateDataAccessScope
func (UnimplementedDataAccessControlServiceServer) CreateDataAccessScope(context.Context, *CreateDataAccessScopeRequest) (*DataAccessScope, error)func (UnimplementedDataAccessControlServiceServer) DeleteDataAccessLabel
func (UnimplementedDataAccessControlServiceServer) DeleteDataAccessLabel(context.Context, *DeleteDataAccessLabelRequest) (*emptypb.Empty, error)func (UnimplementedDataAccessControlServiceServer) DeleteDataAccessScope
func (UnimplementedDataAccessControlServiceServer) DeleteDataAccessScope(context.Context, *DeleteDataAccessScopeRequest) (*emptypb.Empty, error)func (UnimplementedDataAccessControlServiceServer) GetDataAccessLabel
func (UnimplementedDataAccessControlServiceServer) GetDataAccessLabel(context.Context, *GetDataAccessLabelRequest) (*DataAccessLabel, error)func (UnimplementedDataAccessControlServiceServer) GetDataAccessScope
func (UnimplementedDataAccessControlServiceServer) GetDataAccessScope(context.Context, *GetDataAccessScopeRequest) (*DataAccessScope, error)func (UnimplementedDataAccessControlServiceServer) ListDataAccessLabels
func (UnimplementedDataAccessControlServiceServer) ListDataAccessLabels(context.Context, *ListDataAccessLabelsRequest) (*ListDataAccessLabelsResponse, error)func (UnimplementedDataAccessControlServiceServer) ListDataAccessScopes
func (UnimplementedDataAccessControlServiceServer) ListDataAccessScopes(context.Context, *ListDataAccessScopesRequest) (*ListDataAccessScopesResponse, error)func (UnimplementedDataAccessControlServiceServer) UpdateDataAccessLabel
func (UnimplementedDataAccessControlServiceServer) UpdateDataAccessLabel(context.Context, *UpdateDataAccessLabelRequest) (*DataAccessLabel, error)func (UnimplementedDataAccessControlServiceServer) UpdateDataAccessScope
func (UnimplementedDataAccessControlServiceServer) UpdateDataAccessScope(context.Context, *UpdateDataAccessScopeRequest) (*DataAccessScope, error)UnimplementedEntityServiceServer
type UnimplementedEntityServiceServer struct {
}UnimplementedEntityServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEntityServiceServer) CreateWatchlist
func (UnimplementedEntityServiceServer) CreateWatchlist(context.Context, *CreateWatchlistRequest) (*Watchlist, error)func (UnimplementedEntityServiceServer) DeleteWatchlist
func (UnimplementedEntityServiceServer) DeleteWatchlist(context.Context, *DeleteWatchlistRequest) (*emptypb.Empty, error)func (UnimplementedEntityServiceServer) GetWatchlist
func (UnimplementedEntityServiceServer) GetWatchlist(context.Context, *GetWatchlistRequest) (*Watchlist, error)func (UnimplementedEntityServiceServer) ListWatchlists
func (UnimplementedEntityServiceServer) ListWatchlists(context.Context, *ListWatchlistsRequest) (*ListWatchlistsResponse, error)func (UnimplementedEntityServiceServer) UpdateWatchlist
func (UnimplementedEntityServiceServer) UpdateWatchlist(context.Context, *UpdateWatchlistRequest) (*Watchlist, error)UnimplementedInstanceServiceServer
type UnimplementedInstanceServiceServer struct {
}UnimplementedInstanceServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedInstanceServiceServer) GetInstance
func (UnimplementedInstanceServiceServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)UnimplementedReferenceListServiceServer
type UnimplementedReferenceListServiceServer struct {
}UnimplementedReferenceListServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedReferenceListServiceServer) CreateReferenceList
func (UnimplementedReferenceListServiceServer) CreateReferenceList(context.Context, *CreateReferenceListRequest) (*ReferenceList, error)func (UnimplementedReferenceListServiceServer) GetReferenceList
func (UnimplementedReferenceListServiceServer) GetReferenceList(context.Context, *GetReferenceListRequest) (*ReferenceList, error)func (UnimplementedReferenceListServiceServer) ListReferenceLists
func (UnimplementedReferenceListServiceServer) ListReferenceLists(context.Context, *ListReferenceListsRequest) (*ListReferenceListsResponse, error)func (UnimplementedReferenceListServiceServer) UpdateReferenceList
func (UnimplementedReferenceListServiceServer) UpdateReferenceList(context.Context, *UpdateReferenceListRequest) (*ReferenceList, error)UnimplementedRuleServiceServer
type UnimplementedRuleServiceServer struct {
}UnimplementedRuleServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedRuleServiceServer) CreateRetrohunt
func (UnimplementedRuleServiceServer) CreateRetrohunt(context.Context, *CreateRetrohuntRequest) (*longrunningpb.Operation, error)func (UnimplementedRuleServiceServer) CreateRule
func (UnimplementedRuleServiceServer) CreateRule(context.Context, *CreateRuleRequest) (*Rule, error)func (UnimplementedRuleServiceServer) DeleteRule
func (UnimplementedRuleServiceServer) DeleteRule(context.Context, *DeleteRuleRequest) (*emptypb.Empty, error)func (UnimplementedRuleServiceServer) GetRetrohunt
func (UnimplementedRuleServiceServer) GetRetrohunt(context.Context, *GetRetrohuntRequest) (*Retrohunt, error)func (UnimplementedRuleServiceServer) GetRule
func (UnimplementedRuleServiceServer) GetRule(context.Context, *GetRuleRequest) (*Rule, error)func (UnimplementedRuleServiceServer) GetRuleDeployment
func (UnimplementedRuleServiceServer) GetRuleDeployment(context.Context, *GetRuleDeploymentRequest) (*RuleDeployment, error)func (UnimplementedRuleServiceServer) ListRetrohunts
func (UnimplementedRuleServiceServer) ListRetrohunts(context.Context, *ListRetrohuntsRequest) (*ListRetrohuntsResponse, error)func (UnimplementedRuleServiceServer) ListRuleDeployments
func (UnimplementedRuleServiceServer) ListRuleDeployments(context.Context, *ListRuleDeploymentsRequest) (*ListRuleDeploymentsResponse, error)func (UnimplementedRuleServiceServer) ListRuleRevisions
func (UnimplementedRuleServiceServer) ListRuleRevisions(context.Context, *ListRuleRevisionsRequest) (*ListRuleRevisionsResponse, error)func (UnimplementedRuleServiceServer) ListRules
func (UnimplementedRuleServiceServer) ListRules(context.Context, *ListRulesRequest) (*ListRulesResponse, error)func (UnimplementedRuleServiceServer) UpdateRule
func (UnimplementedRuleServiceServer) UpdateRule(context.Context, *UpdateRuleRequest) (*Rule, error)func (UnimplementedRuleServiceServer) UpdateRuleDeployment
func (UnimplementedRuleServiceServer) UpdateRuleDeployment(context.Context, *UpdateRuleDeploymentRequest) (*RuleDeployment, error)UnsafeDataAccessControlServiceServer
type UnsafeDataAccessControlServiceServer interface {
// contains filtered or unexported methods
}UnsafeDataAccessControlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataAccessControlServiceServer will result in compilation errors.
UnsafeEntityServiceServer
type UnsafeEntityServiceServer interface {
// contains filtered or unexported methods
}UnsafeEntityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntityServiceServer will result in compilation errors.
UnsafeInstanceServiceServer
type UnsafeInstanceServiceServer interface {
// contains filtered or unexported methods
}UnsafeInstanceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InstanceServiceServer will result in compilation errors.
UnsafeReferenceListServiceServer
type UnsafeReferenceListServiceServer interface {
// contains filtered or unexported methods
}UnsafeReferenceListServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReferenceListServiceServer will result in compilation errors.
UnsafeRuleServiceServer
type UnsafeRuleServiceServer interface {
// contains filtered or unexported methods
}UnsafeRuleServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuleServiceServer will result in compilation errors.
UpdateDataAccessLabelRequest
type UpdateDataAccessLabelRequest struct {
// Required. The data access label to update.
//
// The label's `name` field is used to identify the label to update.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}`
DataAccessLabel *DataAccessLabel `protobuf:"bytes,1,opt,name=data_access_label,json=dataAccessLabel,proto3" json:"data_access_label,omitempty"`
// The list of fields to update. If not included, all fields with a non-empty
// value will be overwritten. Currently, only the description and definition
// fields are supported for update; an update call that attempts to update any
// other fields will return INVALID_ARGUMENT.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateDataAccessLabel method.
func (*UpdateDataAccessLabelRequest) Descriptor
func (*UpdateDataAccessLabelRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDataAccessLabelRequest.ProtoReflect.Descriptor instead.
func (*UpdateDataAccessLabelRequest) GetDataAccessLabel
func (x *UpdateDataAccessLabelRequest) GetDataAccessLabel() *DataAccessLabelfunc (*UpdateDataAccessLabelRequest) GetUpdateMask
func (x *UpdateDataAccessLabelRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDataAccessLabelRequest) ProtoMessage
func (*UpdateDataAccessLabelRequest) ProtoMessage()func (*UpdateDataAccessLabelRequest) ProtoReflect
func (x *UpdateDataAccessLabelRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDataAccessLabelRequest) Reset
func (x *UpdateDataAccessLabelRequest) Reset()func (*UpdateDataAccessLabelRequest) String
func (x *UpdateDataAccessLabelRequest) String() stringUpdateDataAccessScopeRequest
type UpdateDataAccessScopeRequest struct {
// Required. The data access scope to update.
//
// The scope's `name` field is used to identify the scope to update.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}`
DataAccessScope *DataAccessScope `protobuf:"bytes,1,opt,name=data_access_scope,json=dataAccessScope,proto3" json:"data_access_scope,omitempty"`
// The list of fields to update. If not included, all fields with a non-empty
// value will be overwritten. Currently, only the description, the allowed
// and denied labels list fields are supported for update;
// an update call that attempts to update any
// other fields will return INVALID_ARGUMENT.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateDataAccessScope method.
func (*UpdateDataAccessScopeRequest) Descriptor
func (*UpdateDataAccessScopeRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDataAccessScopeRequest.ProtoReflect.Descriptor instead.
func (*UpdateDataAccessScopeRequest) GetDataAccessScope
func (x *UpdateDataAccessScopeRequest) GetDataAccessScope() *DataAccessScopefunc (*UpdateDataAccessScopeRequest) GetUpdateMask
func (x *UpdateDataAccessScopeRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDataAccessScopeRequest) ProtoMessage
func (*UpdateDataAccessScopeRequest) ProtoMessage()func (*UpdateDataAccessScopeRequest) ProtoReflect
func (x *UpdateDataAccessScopeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDataAccessScopeRequest) Reset
func (x *UpdateDataAccessScopeRequest) Reset()func (*UpdateDataAccessScopeRequest) String
func (x *UpdateDataAccessScopeRequest) String() stringUpdateReferenceListRequest
type UpdateReferenceListRequest struct {
// Required. The reference list to update.
//
// The reference list's `name` field is used to identify the reference list to
// update.
// Format:
// `projects/{project}/locations/{locations}/instances/{instance}/referenceLists/{reference_list}`
ReferenceList *ReferenceList `protobuf:"bytes,1,opt,name=reference_list,json=referenceList,proto3" json:"reference_list,omitempty"`
// The list of fields to update.
// When no field mask is supplied, all non-empty fields will be updated.
// A field mask of "*" will update all fields, whether empty or not.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}A request to update a reference list.
func (*UpdateReferenceListRequest) Descriptor
func (*UpdateReferenceListRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateReferenceListRequest.ProtoReflect.Descriptor instead.
func (*UpdateReferenceListRequest) GetReferenceList
func (x *UpdateReferenceListRequest) GetReferenceList() *ReferenceListfunc (*UpdateReferenceListRequest) GetUpdateMask
func (x *UpdateReferenceListRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateReferenceListRequest) ProtoMessage
func (*UpdateReferenceListRequest) ProtoMessage()func (*UpdateReferenceListRequest) ProtoReflect
func (x *UpdateReferenceListRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateReferenceListRequest) Reset
func (x *UpdateReferenceListRequest) Reset()func (*UpdateReferenceListRequest) String
func (x *UpdateReferenceListRequest) String() stringUpdateRuleDeploymentRequest
type UpdateRuleDeploymentRequest struct {
// Required. The rule deployment to update.
//
// The rule deployment's `name` field is used to identify the rule deployment
// to update. Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/deployment`
RuleDeployment *RuleDeployment `protobuf:"bytes,1,opt,name=rule_deployment,json=ruleDeployment,proto3" json:"rule_deployment,omitempty"`
// Required. The list of fields to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateRuleDeployment.
func (*UpdateRuleDeploymentRequest) Descriptor
func (*UpdateRuleDeploymentRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateRuleDeploymentRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuleDeploymentRequest) GetRuleDeployment
func (x *UpdateRuleDeploymentRequest) GetRuleDeployment() *RuleDeploymentfunc (*UpdateRuleDeploymentRequest) GetUpdateMask
func (x *UpdateRuleDeploymentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateRuleDeploymentRequest) ProtoMessage
func (*UpdateRuleDeploymentRequest) ProtoMessage()func (*UpdateRuleDeploymentRequest) ProtoReflect
func (x *UpdateRuleDeploymentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateRuleDeploymentRequest) Reset
func (x *UpdateRuleDeploymentRequest) Reset()func (*UpdateRuleDeploymentRequest) String
func (x *UpdateRuleDeploymentRequest) String() stringUpdateRuleRequest
type UpdateRuleRequest struct {
// Required. The rule to update.
//
// The rule's `name` field is used to identify the rule to update.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
// The list of fields to update. If not included, all fields with a non-empty
// value will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for UpdateRule method.
func (*UpdateRuleRequest) Descriptor
func (*UpdateRuleRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateRuleRequest) GetRule
func (x *UpdateRuleRequest) GetRule() *Rulefunc (*UpdateRuleRequest) GetUpdateMask
func (x *UpdateRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateRuleRequest) ProtoMessage
func (*UpdateRuleRequest) ProtoMessage()func (*UpdateRuleRequest) ProtoReflect
func (x *UpdateRuleRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateRuleRequest) Reset
func (x *UpdateRuleRequest) Reset()func (*UpdateRuleRequest) String
func (x *UpdateRuleRequest) String() stringUpdateWatchlistRequest
type UpdateWatchlistRequest struct {
// Required. The watchlist to update.
//
// The watchlist's `name` field is used to identify the watchlist to update.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
Watchlist *Watchlist `protobuf:"bytes,1,opt,name=watchlist,proto3" json:"watchlist,omitempty"`
// Optional. The list of fields to update.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request message for updating watchlist.
func (*UpdateWatchlistRequest) Descriptor
func (*UpdateWatchlistRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateWatchlistRequest.ProtoReflect.Descriptor instead.
func (*UpdateWatchlistRequest) GetUpdateMask
func (x *UpdateWatchlistRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateWatchlistRequest) GetWatchlist
func (x *UpdateWatchlistRequest) GetWatchlist() *Watchlistfunc (*UpdateWatchlistRequest) ProtoMessage
func (*UpdateWatchlistRequest) ProtoMessage()func (*UpdateWatchlistRequest) ProtoReflect
func (x *UpdateWatchlistRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateWatchlistRequest) Reset
func (x *UpdateWatchlistRequest) Reset()func (*UpdateWatchlistRequest) String
func (x *UpdateWatchlistRequest) String() stringWatchlist
type Watchlist struct {
// Identifier. Resource name of the watchlist.
// Format:
// `projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Display name of the watchlist.
// Note that it must be at least one character and less than 63 characters
// (https://google.aip.dev/148).
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Description of the watchlist.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Weight applied to the risk score for entities
// in this watchlist.
// The default is 1.0 if it is not specified.
MultiplyingFactor float32 `protobuf:"fixed32,5,opt,name=multiplying_factor,json=multiplyingFactor,proto3" json:"multiplying_factor,omitempty"`
// Required. Mechanism to populate entities in the watchlist.
EntityPopulationMechanism *Watchlist_EntityPopulationMechanism `protobuf:"bytes,6,opt,name=entity_population_mechanism,json=entityPopulationMechanism,proto3" json:"entity_population_mechanism,omitempty"`
// Output only. Entity count in the watchlist.
EntityCount *Watchlist_EntityCount `protobuf:"bytes,7,opt,name=entity_count,json=entityCount,proto3" json:"entity_count,omitempty"`
// Output only. Time the watchlist was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time the watchlist was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. User preferences for watchlist configuration.
WatchlistUserPreferences *WatchlistUserPreferences `protobuf:"bytes,10,opt,name=watchlist_user_preferences,json=watchlistUserPreferences,proto3" json:"watchlist_user_preferences,omitempty"`
// contains filtered or unexported fields
}A watchlist is a list of entities that allows for bulk operations over the included entities.
func (*Watchlist) Descriptor
Deprecated: Use Watchlist.ProtoReflect.Descriptor instead.
func (*Watchlist) GetCreateTime
func (x *Watchlist) GetCreateTime() *timestamppb.Timestampfunc (*Watchlist) GetDescription
func (*Watchlist) GetDisplayName
func (*Watchlist) GetEntityCount
func (x *Watchlist) GetEntityCount() *Watchlist_EntityCountfunc (*Watchlist) GetEntityPopulationMechanism
func (x *Watchlist) GetEntityPopulationMechanism() *Watchlist_EntityPopulationMechanismfunc (*Watchlist) GetMultiplyingFactor
func (*Watchlist) GetName
func (*Watchlist) GetUpdateTime
func (x *Watchlist) GetUpdateTime() *timestamppb.Timestampfunc (*Watchlist) GetWatchlistUserPreferences
func (x *Watchlist) GetWatchlistUserPreferences() *WatchlistUserPreferencesfunc (*Watchlist) ProtoMessage
func (*Watchlist) ProtoMessage()func (*Watchlist) ProtoReflect
func (x *Watchlist) ProtoReflect() protoreflect.Messagefunc (*Watchlist) Reset
func (x *Watchlist) Reset()func (*Watchlist) String
WatchlistUserPreferences
type WatchlistUserPreferences struct {
// Optional. Whether the watchlist is pinned on the dashboard.
Pinned bool `protobuf:"varint,1,opt,name=pinned,proto3" json:"pinned,omitempty"`
// contains filtered or unexported fields
}A collection of user preferences for watchlist UI configuration.
func (*WatchlistUserPreferences) Descriptor
func (*WatchlistUserPreferences) Descriptor() ([]byte, []int)Deprecated: Use WatchlistUserPreferences.ProtoReflect.Descriptor instead.
func (*WatchlistUserPreferences) GetPinned
func (x *WatchlistUserPreferences) GetPinned() boolfunc (*WatchlistUserPreferences) ProtoMessage
func (*WatchlistUserPreferences) ProtoMessage()func (*WatchlistUserPreferences) ProtoReflect
func (x *WatchlistUserPreferences) ProtoReflect() protoreflect.Messagefunc (*WatchlistUserPreferences) Reset
func (x *WatchlistUserPreferences) Reset()func (*WatchlistUserPreferences) String
func (x *WatchlistUserPreferences) String() stringWatchlist_EntityCount
type Watchlist_EntityCount struct {
// Output only. Count of user type entities in the watchlist.
User int32 `protobuf:"varint,1,opt,name=user,proto3" json:"user,omitempty"`
// Output only. Count of asset type entities in the watchlist.
Asset int32 `protobuf:"varint,2,opt,name=asset,proto3" json:"asset,omitempty"`
// contains filtered or unexported fields
}Count of different types of entities in the watchlist.
func (*Watchlist_EntityCount) Descriptor
func (*Watchlist_EntityCount) Descriptor() ([]byte, []int)Deprecated: Use Watchlist_EntityCount.ProtoReflect.Descriptor instead.
func (*Watchlist_EntityCount) GetAsset
func (x *Watchlist_EntityCount) GetAsset() int32func (*Watchlist_EntityCount) GetUser
func (x *Watchlist_EntityCount) GetUser() int32func (*Watchlist_EntityCount) ProtoMessage
func (*Watchlist_EntityCount) ProtoMessage()func (*Watchlist_EntityCount) ProtoReflect
func (x *Watchlist_EntityCount) ProtoReflect() protoreflect.Messagefunc (*Watchlist_EntityCount) Reset
func (x *Watchlist_EntityCount) Reset()func (*Watchlist_EntityCount) String
func (x *Watchlist_EntityCount) String() stringWatchlist_EntityPopulationMechanism
type Watchlist_EntityPopulationMechanism struct {
// Ways to populate entities in watchlist.
// Currently, only manual is supported.
//
// Types that are assignable to Mechanism:
//
// *Watchlist_EntityPopulationMechanism_Manual_
Mechanism isWatchlist_EntityPopulationMechanism_Mechanism `protobuf_oneof:"mechanism"`
// contains filtered or unexported fields
}Mechanism to populate entities in the watchlist.
func (*Watchlist_EntityPopulationMechanism) Descriptor
func (*Watchlist_EntityPopulationMechanism) Descriptor() ([]byte, []int)Deprecated: Use Watchlist_EntityPopulationMechanism.ProtoReflect.Descriptor instead.
func (*Watchlist_EntityPopulationMechanism) GetManual
func (x *Watchlist_EntityPopulationMechanism) GetManual() *Watchlist_EntityPopulationMechanism_Manualfunc (*Watchlist_EntityPopulationMechanism) GetMechanism
func (m *Watchlist_EntityPopulationMechanism) GetMechanism() isWatchlist_EntityPopulationMechanism_Mechanismfunc (*Watchlist_EntityPopulationMechanism) ProtoMessage
func (*Watchlist_EntityPopulationMechanism) ProtoMessage()func (*Watchlist_EntityPopulationMechanism) ProtoReflect
func (x *Watchlist_EntityPopulationMechanism) ProtoReflect() protoreflect.Messagefunc (*Watchlist_EntityPopulationMechanism) Reset
func (x *Watchlist_EntityPopulationMechanism) Reset()func (*Watchlist_EntityPopulationMechanism) String
func (x *Watchlist_EntityPopulationMechanism) String() stringWatchlist_EntityPopulationMechanism_Manual
type Watchlist_EntityPopulationMechanism_Manual struct {
// contains filtered or unexported fields
}Entities are added manually.
func (*Watchlist_EntityPopulationMechanism_Manual) Descriptor
func (*Watchlist_EntityPopulationMechanism_Manual) Descriptor() ([]byte, []int)Deprecated: Use Watchlist_EntityPopulationMechanism_Manual.ProtoReflect.Descriptor instead.
func (*Watchlist_EntityPopulationMechanism_Manual) ProtoMessage
func (*Watchlist_EntityPopulationMechanism_Manual) ProtoMessage()func (*Watchlist_EntityPopulationMechanism_Manual) ProtoReflect
func (x *Watchlist_EntityPopulationMechanism_Manual) ProtoReflect() protoreflect.Messagefunc (*Watchlist_EntityPopulationMechanism_Manual) Reset
func (x *Watchlist_EntityPopulationMechanism_Manual) Reset()func (*Watchlist_EntityPopulationMechanism_Manual) String
func (x *Watchlist_EntityPopulationMechanism_Manual) String() stringWatchlist_EntityPopulationMechanism_Manual_
type Watchlist_EntityPopulationMechanism_Manual_ struct {
// Optional. Entities are added manually.
Manual *Watchlist_EntityPopulationMechanism_Manual `protobuf:"bytes,1,opt,name=manual,proto3,oneof"`
}