Package cloud.google.com/go/chronicle/apiv1/chroniclepb (v0.1.1)

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.

File_google_cloud_chronicle_v1_data_access_control_proto

var File_google_cloud_chronicle_v1_data_access_control_proto protoreflect.FileDescriptor

File_google_cloud_chronicle_v1_entity_proto

var File_google_cloud_chronicle_v1_entity_proto protoreflect.FileDescriptor

File_google_cloud_chronicle_v1_instance_proto

var File_google_cloud_chronicle_v1_instance_proto protoreflect.FileDescriptor

File_google_cloud_chronicle_v1_reference_list_proto

var File_google_cloud_chronicle_v1_reference_list_proto protoreflect.FileDescriptor

File_google_cloud_chronicle_v1_rule_proto

var File_google_cloud_chronicle_v1_rule_proto protoreflect.FileDescriptor

Functions

func RegisterDataAccessControlServiceServer

func RegisterDataAccessControlServiceServer(s *grpc.Server, srv DataAccessControlServiceServer)

func RegisterEntityServiceServer

func RegisterEntityServiceServer(s *grpc.Server, srv EntityServiceServer)

func RegisterInstanceServiceServer

func RegisterInstanceServiceServer(s *grpc.Server, srv InstanceServiceServer)

func RegisterReferenceListServiceServer

func RegisterReferenceListServiceServer(s *grpc.Server, srv ReferenceListServiceServer)

func RegisterRuleServiceServer

func RegisterRuleServiceServer(s *grpc.Server, 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() string

func (*CompilationDiagnostic) GetPosition

func (x *CompilationDiagnostic) GetPosition() *CompilationPosition

func (*CompilationDiagnostic) GetSeverity

func (*CompilationDiagnostic) GetUri

func (x *CompilationDiagnostic) GetUri() string

func (*CompilationDiagnostic) ProtoMessage

func (*CompilationDiagnostic) ProtoMessage()

func (*CompilationDiagnostic) ProtoReflect

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

func (*CompilationDiagnostic) Reset

func (x *CompilationDiagnostic) Reset()

func (*CompilationDiagnostic) String

func (x *CompilationDiagnostic) String() string

CompilationDiagnostic_Severity

type CompilationDiagnostic_Severity int32

The 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) Enum

func (CompilationDiagnostic_Severity) EnumDescriptor

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

Deprecated: Use CompilationDiagnostic_Severity.Descriptor instead.

func (CompilationDiagnostic_Severity) Number

func (CompilationDiagnostic_Severity) String

func (CompilationDiagnostic_Severity) Type

CompilationPosition

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() int32

func (*CompilationPosition) GetEndLine

func (x *CompilationPosition) GetEndLine() int32

func (*CompilationPosition) GetStartColumn

func (x *CompilationPosition) GetStartColumn() int32

func (*CompilationPosition) GetStartLine

func (x *CompilationPosition) GetStartLine() int32

func (*CompilationPosition) ProtoMessage

func (*CompilationPosition) ProtoMessage()

func (*CompilationPosition) ProtoReflect

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

func (*CompilationPosition) Reset

func (x *CompilationPosition) Reset()

func (*CompilationPosition) String

func (x *CompilationPosition) String() string

CreateDataAccessLabelRequest

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() *DataAccessLabel

func (*CreateDataAccessLabelRequest) GetDataAccessLabelId

func (x *CreateDataAccessLabelRequest) GetDataAccessLabelId() string

func (*CreateDataAccessLabelRequest) GetParent

func (x *CreateDataAccessLabelRequest) GetParent() string

func (*CreateDataAccessLabelRequest) ProtoMessage

func (*CreateDataAccessLabelRequest) ProtoMessage()

func (*CreateDataAccessLabelRequest) ProtoReflect

func (*CreateDataAccessLabelRequest) Reset

func (x *CreateDataAccessLabelRequest) Reset()

func (*CreateDataAccessLabelRequest) String

CreateDataAccessScopeRequest

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() *DataAccessScope

func (*CreateDataAccessScopeRequest) GetDataAccessScopeId

func (x *CreateDataAccessScopeRequest) GetDataAccessScopeId() string

func (*CreateDataAccessScopeRequest) GetParent

func (x *CreateDataAccessScopeRequest) GetParent() string

func (*CreateDataAccessScopeRequest) ProtoMessage

func (*CreateDataAccessScopeRequest) ProtoMessage()

func (*CreateDataAccessScopeRequest) ProtoReflect

func (*CreateDataAccessScopeRequest) Reset

func (x *CreateDataAccessScopeRequest) Reset()

func (*CreateDataAccessScopeRequest) String

CreateReferenceListRequest

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() string

func (*CreateReferenceListRequest) GetReferenceList

func (x *CreateReferenceListRequest) GetReferenceList() *ReferenceList

func (*CreateReferenceListRequest) GetReferenceListId

func (x *CreateReferenceListRequest) GetReferenceListId() string

func (*CreateReferenceListRequest) ProtoMessage

func (*CreateReferenceListRequest) ProtoMessage()

func (*CreateReferenceListRequest) ProtoReflect

func (*CreateReferenceListRequest) Reset

func (x *CreateReferenceListRequest) Reset()

func (*CreateReferenceListRequest) String

func (x *CreateReferenceListRequest) String() string

CreateRetrohuntRequest

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() string

func (*CreateRetrohuntRequest) GetRetrohunt

func (x *CreateRetrohuntRequest) GetRetrohunt() *Retrohunt

func (*CreateRetrohuntRequest) ProtoMessage

func (*CreateRetrohuntRequest) ProtoMessage()

func (*CreateRetrohuntRequest) ProtoReflect

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

func (*CreateRetrohuntRequest) Reset

func (x *CreateRetrohuntRequest) Reset()

func (*CreateRetrohuntRequest) String

func (x *CreateRetrohuntRequest) String() string

CreateRuleRequest

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() string

func (*CreateRuleRequest) GetRule

func (x *CreateRuleRequest) GetRule() *Rule

func (*CreateRuleRequest) ProtoMessage

func (*CreateRuleRequest) ProtoMessage()

func (*CreateRuleRequest) ProtoReflect

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

func (*CreateRuleRequest) Reset

func (x *CreateRuleRequest) Reset()

func (*CreateRuleRequest) String

func (x *CreateRuleRequest) String() string

CreateWatchlistRequest

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() string

func (*CreateWatchlistRequest) GetWatchlist

func (x *CreateWatchlistRequest) GetWatchlist() *Watchlist

func (*CreateWatchlistRequest) GetWatchlistId

func (x *CreateWatchlistRequest) GetWatchlistId() string

func (*CreateWatchlistRequest) ProtoMessage

func (*CreateWatchlistRequest) ProtoMessage()

func (*CreateWatchlistRequest) ProtoReflect

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

func (*CreateWatchlistRequest) Reset

func (x *CreateWatchlistRequest) Reset()

func (*CreateWatchlistRequest) String

func (x *CreateWatchlistRequest) String() string

DataAccessControlServiceClient

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDataAccessControlServiceClient

func NewDataAccessControlServiceClient(cc grpc.ClientConnInterface) DataAccessControlServiceClient

DataAccessControlServiceServer

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.

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() string

func (*DataAccessLabel) GetCreateTime

func (x *DataAccessLabel) GetCreateTime() *timestamppb.Timestamp

func (*DataAccessLabel) GetDefinition

func (m *DataAccessLabel) GetDefinition() isDataAccessLabel_Definition

func (*DataAccessLabel) GetDescription

func (x *DataAccessLabel) GetDescription() string

func (*DataAccessLabel) GetDisplayName

func (x *DataAccessLabel) GetDisplayName() string

func (*DataAccessLabel) GetLastEditor

func (x *DataAccessLabel) GetLastEditor() string

func (*DataAccessLabel) GetName

func (x *DataAccessLabel) GetName() string

func (*DataAccessLabel) GetUdmQuery

func (x *DataAccessLabel) GetUdmQuery() string

func (*DataAccessLabel) GetUpdateTime

func (x *DataAccessLabel) GetUpdateTime() *timestamppb.Timestamp

func (*DataAccessLabel) ProtoMessage

func (*DataAccessLabel) ProtoMessage()

func (*DataAccessLabel) ProtoReflect

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

func (*DataAccessLabel) Reset

func (x *DataAccessLabel) Reset()

func (*DataAccessLabel) String

func (x *DataAccessLabel) String() string

DataAccessLabelReference

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() string

func (*DataAccessLabelReference) GetDataAccessLabel

func (x *DataAccessLabelReference) GetDataAccessLabel() string

func (*DataAccessLabelReference) GetDisplayName

func (x *DataAccessLabelReference) GetDisplayName() string

func (*DataAccessLabelReference) GetIngestionLabel

func (x *DataAccessLabelReference) GetIngestionLabel() *IngestionLabel

func (*DataAccessLabelReference) GetLabel

func (m *DataAccessLabelReference) GetLabel() isDataAccessLabelReference_Label

func (*DataAccessLabelReference) GetLogType

func (x *DataAccessLabelReference) GetLogType() string

func (*DataAccessLabelReference) ProtoMessage

func (*DataAccessLabelReference) ProtoMessage()

func (*DataAccessLabelReference) ProtoReflect

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

func (*DataAccessLabelReference) Reset

func (x *DataAccessLabelReference) Reset()

func (*DataAccessLabelReference) String

func (x *DataAccessLabelReference) String() string

DataAccessLabelReference_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() bool

func (*DataAccessScope) GetAllowedDataAccessLabels

func (x *DataAccessScope) GetAllowedDataAccessLabels() []*DataAccessLabelReference

func (*DataAccessScope) GetAuthor

func (x *DataAccessScope) GetAuthor() string

func (*DataAccessScope) GetCreateTime

func (x *DataAccessScope) GetCreateTime() *timestamppb.Timestamp

func (*DataAccessScope) GetDeniedDataAccessLabels

func (x *DataAccessScope) GetDeniedDataAccessLabels() []*DataAccessLabelReference

func (*DataAccessScope) GetDescription

func (x *DataAccessScope) GetDescription() string

func (*DataAccessScope) GetDisplayName

func (x *DataAccessScope) GetDisplayName() string

func (*DataAccessScope) GetLastEditor

func (x *DataAccessScope) GetLastEditor() string

func (*DataAccessScope) GetName

func (x *DataAccessScope) GetName() string

func (*DataAccessScope) GetUpdateTime

func (x *DataAccessScope) GetUpdateTime() *timestamppb.Timestamp

func (*DataAccessScope) ProtoMessage

func (*DataAccessScope) ProtoMessage()

func (*DataAccessScope) ProtoReflect

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

func (*DataAccessScope) Reset

func (x *DataAccessScope) Reset()

func (*DataAccessScope) String

func (x *DataAccessScope) String() string

DeleteDataAccessLabelRequest

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() string

func (*DeleteDataAccessLabelRequest) ProtoMessage

func (*DeleteDataAccessLabelRequest) ProtoMessage()

func (*DeleteDataAccessLabelRequest) ProtoReflect

func (*DeleteDataAccessLabelRequest) Reset

func (x *DeleteDataAccessLabelRequest) Reset()

func (*DeleteDataAccessLabelRequest) String

DeleteDataAccessScopeRequest

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() string

func (*DeleteDataAccessScopeRequest) ProtoMessage

func (*DeleteDataAccessScopeRequest) ProtoMessage()

func (*DeleteDataAccessScopeRequest) ProtoReflect

func (*DeleteDataAccessScopeRequest) Reset

func (x *DeleteDataAccessScopeRequest) Reset()

func (*DeleteDataAccessScopeRequest) String

DeleteRuleRequest

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() bool

func (*DeleteRuleRequest) GetName

func (x *DeleteRuleRequest) GetName() string

func (*DeleteRuleRequest) ProtoMessage

func (*DeleteRuleRequest) ProtoMessage()

func (*DeleteRuleRequest) ProtoReflect

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

func (*DeleteRuleRequest) Reset

func (x *DeleteRuleRequest) Reset()

func (*DeleteRuleRequest) String

func (x *DeleteRuleRequest) String() string

DeleteWatchlistRequest

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() bool

func (*DeleteWatchlistRequest) GetName

func (x *DeleteWatchlistRequest) GetName() string

func (*DeleteWatchlistRequest) ProtoMessage

func (*DeleteWatchlistRequest) ProtoMessage()

func (*DeleteWatchlistRequest) ProtoReflect

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

func (*DeleteWatchlistRequest) Reset

func (x *DeleteWatchlistRequest) Reset()

func (*DeleteWatchlistRequest) String

func (x *DeleteWatchlistRequest) String() string

EntityServiceClient

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEntityServiceClient

func NewEntityServiceClient(cc grpc.ClientConnInterface) EntityServiceClient

EntityServiceServer

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.

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() string

func (*GetDataAccessLabelRequest) ProtoMessage

func (*GetDataAccessLabelRequest) ProtoMessage()

func (*GetDataAccessLabelRequest) ProtoReflect

func (*GetDataAccessLabelRequest) Reset

func (x *GetDataAccessLabelRequest) Reset()

func (*GetDataAccessLabelRequest) String

func (x *GetDataAccessLabelRequest) String() string

GetDataAccessScopeRequest

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() string

func (*GetDataAccessScopeRequest) ProtoMessage

func (*GetDataAccessScopeRequest) ProtoMessage()

func (*GetDataAccessScopeRequest) ProtoReflect

func (*GetDataAccessScopeRequest) Reset

func (x *GetDataAccessScopeRequest) Reset()

func (*GetDataAccessScopeRequest) String

func (x *GetDataAccessScopeRequest) String() string

GetInstanceRequest

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() string

func (*GetInstanceRequest) ProtoMessage

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect

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

func (*GetInstanceRequest) Reset

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String

func (x *GetInstanceRequest) String() string

GetReferenceListRequest

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() string

func (*GetReferenceListRequest) GetView

func (*GetReferenceListRequest) ProtoMessage

func (*GetReferenceListRequest) ProtoMessage()

func (*GetReferenceListRequest) ProtoReflect

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

func (*GetReferenceListRequest) Reset

func (x *GetReferenceListRequest) Reset()

func (*GetReferenceListRequest) String

func (x *GetReferenceListRequest) String() string

GetRetrohuntRequest

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() string

func (*GetRetrohuntRequest) ProtoMessage

func (*GetRetrohuntRequest) ProtoMessage()

func (*GetRetrohuntRequest) ProtoReflect

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

func (*GetRetrohuntRequest) Reset

func (x *GetRetrohuntRequest) Reset()

func (*GetRetrohuntRequest) String

func (x *GetRetrohuntRequest) String() string

GetRuleDeploymentRequest

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() string

func (*GetRuleDeploymentRequest) ProtoMessage

func (*GetRuleDeploymentRequest) ProtoMessage()

func (*GetRuleDeploymentRequest) ProtoReflect

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

func (*GetRuleDeploymentRequest) Reset

func (x *GetRuleDeploymentRequest) Reset()

func (*GetRuleDeploymentRequest) String

func (x *GetRuleDeploymentRequest) String() string

GetRuleRequest

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() string

func (*GetRuleRequest) GetView

func (x *GetRuleRequest) GetView() RuleView

func (*GetRuleRequest) ProtoMessage

func (*GetRuleRequest) ProtoMessage()

func (*GetRuleRequest) ProtoReflect

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

func (*GetRuleRequest) Reset

func (x *GetRuleRequest) Reset()

func (*GetRuleRequest) String

func (x *GetRuleRequest) String() string

GetWatchlistRequest

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() string

func (*GetWatchlistRequest) ProtoMessage

func (*GetWatchlistRequest) ProtoMessage()

func (*GetWatchlistRequest) ProtoReflect

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

func (*GetWatchlistRequest) Reset

func (x *GetWatchlistRequest) Reset()

func (*GetWatchlistRequest) String

func (x *GetWatchlistRequest) String() string

IngestionLabel

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() string

func (*IngestionLabel) GetIngestionLabelValue

func (x *IngestionLabel) GetIngestionLabelValue() string

func (*IngestionLabel) ProtoMessage

func (*IngestionLabel) ProtoMessage()

func (*IngestionLabel) ProtoReflect

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

func (*IngestionLabel) Reset

func (x *IngestionLabel) Reset()

func (*IngestionLabel) String

func (x *IngestionLabel) String() string

InputsUsed

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() bool

func (*InputsUsed) GetUsesEntity

func (x *InputsUsed) GetUsesEntity() bool

func (*InputsUsed) GetUsesUdm

func (x *InputsUsed) GetUsesUdm() bool

func (*InputsUsed) ProtoMessage

func (*InputsUsed) ProtoMessage()

func (*InputsUsed) ProtoReflect

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

func (*InputsUsed) Reset

func (x *InputsUsed) Reset()

func (*InputsUsed) String

func (x *InputsUsed) String() string

Instance

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

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewInstanceServiceClient

func NewInstanceServiceClient(cc grpc.ClientConnInterface) InstanceServiceClient

InstanceServiceServer

type InstanceServiceServer interface {
	// Gets a Instance.
	GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
}

InstanceServiceServer is the server API for InstanceService service.

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() string

func (*ListDataAccessLabelsRequest) GetPageSize

func (x *ListDataAccessLabelsRequest) GetPageSize() int32

func (*ListDataAccessLabelsRequest) GetPageToken

func (x *ListDataAccessLabelsRequest) GetPageToken() string

func (*ListDataAccessLabelsRequest) GetParent

func (x *ListDataAccessLabelsRequest) GetParent() string

func (*ListDataAccessLabelsRequest) ProtoMessage

func (*ListDataAccessLabelsRequest) ProtoMessage()

func (*ListDataAccessLabelsRequest) ProtoReflect

func (*ListDataAccessLabelsRequest) Reset

func (x *ListDataAccessLabelsRequest) Reset()

func (*ListDataAccessLabelsRequest) String

func (x *ListDataAccessLabelsRequest) String() string

ListDataAccessLabelsResponse

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() []*DataAccessLabel

func (*ListDataAccessLabelsResponse) GetNextPageToken

func (x *ListDataAccessLabelsResponse) GetNextPageToken() string

func (*ListDataAccessLabelsResponse) ProtoMessage

func (*ListDataAccessLabelsResponse) ProtoMessage()

func (*ListDataAccessLabelsResponse) ProtoReflect

func (*ListDataAccessLabelsResponse) Reset

func (x *ListDataAccessLabelsResponse) Reset()

func (*ListDataAccessLabelsResponse) String

ListDataAccessScopesRequest

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() string

func (*ListDataAccessScopesRequest) GetPageSize

func (x *ListDataAccessScopesRequest) GetPageSize() int32

func (*ListDataAccessScopesRequest) GetPageToken

func (x *ListDataAccessScopesRequest) GetPageToken() string

func (*ListDataAccessScopesRequest) GetParent

func (x *ListDataAccessScopesRequest) GetParent() string

func (*ListDataAccessScopesRequest) ProtoMessage

func (*ListDataAccessScopesRequest) ProtoMessage()

func (*ListDataAccessScopesRequest) ProtoReflect

func (*ListDataAccessScopesRequest) Reset

func (x *ListDataAccessScopesRequest) Reset()

func (*ListDataAccessScopesRequest) String

func (x *ListDataAccessScopesRequest) String() string

ListDataAccessScopesResponse

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() []*DataAccessScope

func (*ListDataAccessScopesResponse) GetGlobalDataAccessScopeGranted

func (x *ListDataAccessScopesResponse) GetGlobalDataAccessScopeGranted() bool

func (*ListDataAccessScopesResponse) GetNextPageToken

func (x *ListDataAccessScopesResponse) GetNextPageToken() string

func (*ListDataAccessScopesResponse) ProtoMessage

func (*ListDataAccessScopesResponse) ProtoMessage()

func (*ListDataAccessScopesResponse) ProtoReflect

func (*ListDataAccessScopesResponse) Reset

func (x *ListDataAccessScopesResponse) Reset()

func (*ListDataAccessScopesResponse) String

ListReferenceListsRequest

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() int32

func (*ListReferenceListsRequest) GetPageToken

func (x *ListReferenceListsRequest) GetPageToken() string

func (*ListReferenceListsRequest) GetParent

func (x *ListReferenceListsRequest) GetParent() string

func (*ListReferenceListsRequest) GetView

func (*ListReferenceListsRequest) ProtoMessage

func (*ListReferenceListsRequest) ProtoMessage()

func (*ListReferenceListsRequest) ProtoReflect

func (*ListReferenceListsRequest) Reset

func (x *ListReferenceListsRequest) Reset()

func (*ListReferenceListsRequest) String

func (x *ListReferenceListsRequest) String() string

ListReferenceListsResponse

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() string

func (*ListReferenceListsResponse) GetReferenceLists

func (x *ListReferenceListsResponse) GetReferenceLists() []*ReferenceList

func (*ListReferenceListsResponse) ProtoMessage

func (*ListReferenceListsResponse) ProtoMessage()

func (*ListReferenceListsResponse) ProtoReflect

func (*ListReferenceListsResponse) Reset

func (x *ListReferenceListsResponse) Reset()

func (*ListReferenceListsResponse) String

func (x *ListReferenceListsResponse) String() string

ListRetrohuntsRequest

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() string

func (*ListRetrohuntsRequest) GetPageSize

func (x *ListRetrohuntsRequest) GetPageSize() int32

func (*ListRetrohuntsRequest) GetPageToken

func (x *ListRetrohuntsRequest) GetPageToken() string

func (*ListRetrohuntsRequest) GetParent

func (x *ListRetrohuntsRequest) GetParent() string

func (*ListRetrohuntsRequest) ProtoMessage

func (*ListRetrohuntsRequest) ProtoMessage()

func (*ListRetrohuntsRequest) ProtoReflect

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

func (*ListRetrohuntsRequest) Reset

func (x *ListRetrohuntsRequest) Reset()

func (*ListRetrohuntsRequest) String

func (x *ListRetrohuntsRequest) String() string

ListRetrohuntsResponse

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() string

func (*ListRetrohuntsResponse) GetRetrohunts

func (x *ListRetrohuntsResponse) GetRetrohunts() []*Retrohunt

func (*ListRetrohuntsResponse) ProtoMessage

func (*ListRetrohuntsResponse) ProtoMessage()

func (*ListRetrohuntsResponse) ProtoReflect

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

func (*ListRetrohuntsResponse) Reset

func (x *ListRetrohuntsResponse) Reset()

func (*ListRetrohuntsResponse) String

func (x *ListRetrohuntsResponse) String() string

ListRuleDeploymentsRequest

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() string

func (*ListRuleDeploymentsRequest) GetPageSize

func (x *ListRuleDeploymentsRequest) GetPageSize() int32

func (*ListRuleDeploymentsRequest) GetPageToken

func (x *ListRuleDeploymentsRequest) GetPageToken() string

func (*ListRuleDeploymentsRequest) GetParent

func (x *ListRuleDeploymentsRequest) GetParent() string

func (*ListRuleDeploymentsRequest) ProtoMessage

func (*ListRuleDeploymentsRequest) ProtoMessage()

func (*ListRuleDeploymentsRequest) ProtoReflect

func (*ListRuleDeploymentsRequest) Reset

func (x *ListRuleDeploymentsRequest) Reset()

func (*ListRuleDeploymentsRequest) String

func (x *ListRuleDeploymentsRequest) String() string

ListRuleDeploymentsResponse

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() string

func (*ListRuleDeploymentsResponse) GetRuleDeployments

func (x *ListRuleDeploymentsResponse) GetRuleDeployments() []*RuleDeployment

func (*ListRuleDeploymentsResponse) ProtoMessage

func (*ListRuleDeploymentsResponse) ProtoMessage()

func (*ListRuleDeploymentsResponse) ProtoReflect

func (*ListRuleDeploymentsResponse) Reset

func (x *ListRuleDeploymentsResponse) Reset()

func (*ListRuleDeploymentsResponse) String

func (x *ListRuleDeploymentsResponse) String() string

ListRuleRevisionsRequest

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() string

func (*ListRuleRevisionsRequest) GetPageSize

func (x *ListRuleRevisionsRequest) GetPageSize() int32

func (*ListRuleRevisionsRequest) GetPageToken

func (x *ListRuleRevisionsRequest) GetPageToken() string

func (*ListRuleRevisionsRequest) GetView

func (x *ListRuleRevisionsRequest) GetView() RuleView

func (*ListRuleRevisionsRequest) ProtoMessage

func (*ListRuleRevisionsRequest) ProtoMessage()

func (*ListRuleRevisionsRequest) ProtoReflect

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

func (*ListRuleRevisionsRequest) Reset

func (x *ListRuleRevisionsRequest) Reset()

func (*ListRuleRevisionsRequest) String

func (x *ListRuleRevisionsRequest) String() string

ListRuleRevisionsResponse

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() string

func (*ListRuleRevisionsResponse) GetRules

func (x *ListRuleRevisionsResponse) GetRules() []*Rule

func (*ListRuleRevisionsResponse) ProtoMessage

func (*ListRuleRevisionsResponse) ProtoMessage()

func (*ListRuleRevisionsResponse) ProtoReflect

func (*ListRuleRevisionsResponse) Reset

func (x *ListRuleRevisionsResponse) Reset()

func (*ListRuleRevisionsResponse) String

func (x *ListRuleRevisionsResponse) String() string

ListRulesRequest

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() string

func (*ListRulesRequest) GetPageSize

func (x *ListRulesRequest) GetPageSize() int32

func (*ListRulesRequest) GetPageToken

func (x *ListRulesRequest) GetPageToken() string

func (*ListRulesRequest) GetParent

func (x *ListRulesRequest) GetParent() string

func (*ListRulesRequest) GetView

func (x *ListRulesRequest) GetView() RuleView

func (*ListRulesRequest) ProtoMessage

func (*ListRulesRequest) ProtoMessage()

func (*ListRulesRequest) ProtoReflect

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

func (*ListRulesRequest) Reset

func (x *ListRulesRequest) Reset()

func (*ListRulesRequest) String

func (x *ListRulesRequest) String() string

ListRulesResponse

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() string

func (*ListRulesResponse) GetRules

func (x *ListRulesResponse) GetRules() []*Rule

func (*ListRulesResponse) ProtoMessage

func (*ListRulesResponse) ProtoMessage()

func (*ListRulesResponse) ProtoReflect

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

func (*ListRulesResponse) Reset

func (x *ListRulesResponse) Reset()

func (*ListRulesResponse) String

func (x *ListRulesResponse) String() string

ListWatchlistsRequest

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() string

func (*ListWatchlistsRequest) GetPageSize

func (x *ListWatchlistsRequest) GetPageSize() int32

func (*ListWatchlistsRequest) GetPageToken

func (x *ListWatchlistsRequest) GetPageToken() string

func (*ListWatchlistsRequest) GetParent

func (x *ListWatchlistsRequest) GetParent() string

func (*ListWatchlistsRequest) ProtoMessage

func (*ListWatchlistsRequest) ProtoMessage()

func (*ListWatchlistsRequest) ProtoReflect

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

func (*ListWatchlistsRequest) Reset

func (x *ListWatchlistsRequest) Reset()

func (*ListWatchlistsRequest) String

func (x *ListWatchlistsRequest) String() string

ListWatchlistsResponse

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() string

func (*ListWatchlistsResponse) GetWatchlists

func (x *ListWatchlistsResponse) GetWatchlists() []*Watchlist

func (*ListWatchlistsResponse) ProtoMessage

func (*ListWatchlistsResponse) ProtoMessage()

func (*ListWatchlistsResponse) ProtoReflect

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

func (*ListWatchlistsResponse) Reset

func (x *ListWatchlistsResponse) Reset()

func (*ListWatchlistsResponse) String

func (x *ListWatchlistsResponse) String() string

ReferenceList

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