bqpb

package
v0.0.0-...-aef5656 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package bqpb contains protos for LUCI Auth Service exports to BigQuery.

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_auth_service_api_bqpb_groups_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_auth_service_api_bqpb_realms_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GroupRow

type GroupRow struct {

	// Name of the group, e.g. 'testers'.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the group, e.g. 'Users who can access LUCI Auth Service'.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Owning group. Members of the owning group can administer this group.
	// e.g. 'testers-admins'.
	Owners string `protobuf:"bytes,3,opt,name=owners,proto3" json:"owners,omitempty"`
	// Non-glob identities that are explicitly in the group, either directly or
	// indirectly from nested subgroups, e.g. 'user:bot@serviceaccount.com'.
	Members []string `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"`
	// Glob identities that are in the group, either directly or indirectly from
	// nested groups, e.g. 'user:*@example.com'.
	Globs []string `protobuf:"bytes,5,rep,name=globs,proto3" json:"globs,omitempty"`
	// Groups that are nested in this group, either directly or indirectly. Any
	// member of a subgroup is considered a member of this group.
	// e.g. 'external-testers'.
	Subgroups []string `protobuf:"bytes,6,rep,name=subgroups,proto3" json:"subgroups,omitempty"`
	// The revision of the AuthDBSnapshot from which the group was exported.
	AuthdbRev int64 `protobuf:"varint,7,opt,name=authdb_rev,json=authdbRev,proto3" json:"authdb_rev,omitempty"`
	// The timestamp when the BQ export was initialized.
	ExportedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=exported_at,json=exportedAt,proto3" json:"exported_at,omitempty"`
	// contains filtered or unexported fields
}

GroupRow represents an AuthGroup which has been exported to BigQuery.

func (*GroupRow) Descriptor deprecated

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

Deprecated: Use GroupRow.ProtoReflect.Descriptor instead.

func (*GroupRow) GetAuthdbRev

func (x *GroupRow) GetAuthdbRev() int64

func (*GroupRow) GetDescription

func (x *GroupRow) GetDescription() string

func (*GroupRow) GetExportedAt

func (x *GroupRow) GetExportedAt() *timestamppb.Timestamp

func (*GroupRow) GetGlobs

func (x *GroupRow) GetGlobs() []string

func (*GroupRow) GetMembers

func (x *GroupRow) GetMembers() []string

func (*GroupRow) GetName

func (x *GroupRow) GetName() string

func (*GroupRow) GetOwners

func (x *GroupRow) GetOwners() string

func (*GroupRow) GetSubgroups

func (x *GroupRow) GetSubgroups() []string

func (*GroupRow) ProtoMessage

func (*GroupRow) ProtoMessage()

func (*GroupRow) ProtoReflect

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

func (*GroupRow) Reset

func (x *GroupRow) Reset()

func (*GroupRow) String

func (x *GroupRow) String() string

type RealmRow

type RealmRow struct {

	// Name of the realm. For example: 'chromium:try'.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the binding in the realm.
	BindingId int64 `protobuf:"varint,2,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
	// The permissions in the realm binding.
	Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// The principals specified in the binding. They are the ones that have been
	// granted the permissions specified in the binding.
	Principals []string `protobuf:"bytes,4,rep,name=principals,proto3" json:"principals,omitempty"`
	// Attribute conditions for the binding, if any.
	Conditions []string `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// The revision of the AuthDBSnapshot from which the realm was exported.
	AuthdbRev int64 `protobuf:"varint,6,opt,name=authdb_rev,json=authdbRev,proto3" json:"authdb_rev,omitempty"`
	// The timestamp when the BQ export was initialized.
	ExportedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=exported_at,json=exportedAt,proto3" json:"exported_at,omitempty"`
	// contains filtered or unexported fields
}

RealmRow represents a realm binding which has been exported to BigQuery.

func (*RealmRow) Descriptor deprecated

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

Deprecated: Use RealmRow.ProtoReflect.Descriptor instead.

func (*RealmRow) GetAuthdbRev

func (x *RealmRow) GetAuthdbRev() int64

func (*RealmRow) GetBindingId

func (x *RealmRow) GetBindingId() int64

func (*RealmRow) GetConditions

func (x *RealmRow) GetConditions() []string

func (*RealmRow) GetExportedAt

func (x *RealmRow) GetExportedAt() *timestamppb.Timestamp

func (*RealmRow) GetName

func (x *RealmRow) GetName() string

func (*RealmRow) GetPermissions

func (x *RealmRow) GetPermissions() []string

func (*RealmRow) GetPrincipals

func (x *RealmRow) GetPrincipals() []string

func (*RealmRow) ProtoMessage

func (*RealmRow) ProtoMessage()

func (*RealmRow) ProtoReflect

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

func (*RealmRow) Reset

func (x *RealmRow) Reset()

func (*RealmRow) String

func (x *RealmRow) String() string

Jump to

Keyboard shortcuts

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