Documentation ¶
Index ¶
- Variables
- func RegisterOMAServiceServer(s grpc.ServiceRegistrar, srv OMAServiceServer)
- type CreateOrganizationFields
- func (*CreateOrganizationFields) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationFields) GetAccountId() string
- func (x *CreateOrganizationFields) GetName() string
- func (x *CreateOrganizationFields) GetParentId() string
- func (x *CreateOrganizationFields) GetTags() map[string]string
- func (*CreateOrganizationFields) ProtoMessage()
- func (x *CreateOrganizationFields) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationFields) Reset()
- func (x *CreateOrganizationFields) String() string
- type CreateOrganizationRequest
- func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationRequest) GetFields() *CreateOrganizationFields
- func (*CreateOrganizationRequest) ProtoMessage()
- func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationRequest) Reset()
- func (x *CreateOrganizationRequest) String() string
- type CreateOrganizationResponse
- func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationResponse) GetStatus() *v1.ResponseStatus
- func (*CreateOrganizationResponse) ProtoMessage()
- func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationResponse) Reset()
- func (x *CreateOrganizationResponse) String() string
- type DeleteOrganizationRequest
- func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationRequest) GetParams() *GetOrganizationRequestParams
- func (*DeleteOrganizationRequest) ProtoMessage()
- func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationRequest) Reset()
- func (x *DeleteOrganizationRequest) String() string
- type DeleteOrganizationResponse
- func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationResponse) GetStatus() *v1.ResponseStatus
- func (*DeleteOrganizationResponse) ProtoMessage()
- func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationResponse) Reset()
- func (x *DeleteOrganizationResponse) String() string
- type GetOrganizationRequest
- func (*GetOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationRequest) GetOptions() *GetOrganizationRequestOptions
- func (x *GetOrganizationRequest) GetParams() *GetOrganizationRequestParams
- func (*GetOrganizationRequest) ProtoMessage()
- func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationRequest) Reset()
- func (x *GetOrganizationRequest) String() string
- type GetOrganizationRequestOptions
- func (*GetOrganizationRequestOptions) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationRequestOptions) GetReadMask() *fieldmaskpb.FieldMask
- func (*GetOrganizationRequestOptions) ProtoMessage()
- func (x *GetOrganizationRequestOptions) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationRequestOptions) Reset()
- func (x *GetOrganizationRequestOptions) String() string
- type GetOrganizationRequestParams
- func (*GetOrganizationRequestParams) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationRequestParams) GetId() string
- func (x *GetOrganizationRequestParams) GetName() string
- func (*GetOrganizationRequestParams) ProtoMessage()
- func (x *GetOrganizationRequestParams) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationRequestParams) Reset()
- func (x *GetOrganizationRequestParams) String() string
- type GetOrganizationResponse
- func (*GetOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationResponse) GetOrganization() *Organization
- func (x *GetOrganizationResponse) GetStatus() *v1.ResponseStatus
- func (*GetOrganizationResponse) ProtoMessage()
- func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationResponse) Reset()
- func (x *GetOrganizationResponse) String() string
- type ListOrganizationsRequest
- func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationsRequest) GetOptions() *GetOrganizationRequestOptions
- func (x *ListOrganizationsRequest) GetParams() *ListOrganizationsRequestParams
- func (*ListOrganizationsRequest) ProtoMessage()
- func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationsRequest) Reset()
- func (x *ListOrganizationsRequest) String() string
- type ListOrganizationsRequestParams
- func (*ListOrganizationsRequestParams) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationsRequestParams) GetIds() []string
- func (x *ListOrganizationsRequestParams) GetIncludeChildren() bool
- func (x *ListOrganizationsRequestParams) GetMarker() string
- func (x *ListOrganizationsRequestParams) GetNames() []string
- func (x *ListOrganizationsRequestParams) GetParentIds() []string
- func (x *ListOrganizationsRequestParams) GetResultsPerPage() uint32
- func (*ListOrganizationsRequestParams) ProtoMessage()
- func (x *ListOrganizationsRequestParams) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationsRequestParams) Reset()
- func (x *ListOrganizationsRequestParams) String() string
- type ListOrganizationsResponse
- func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationsResponse) GetOrganization() *Organization
- func (*ListOrganizationsResponse) ProtoMessage()
- func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationsResponse) Reset()
- func (x *ListOrganizationsResponse) String() string
- type OMAServiceClient
- type OMAServiceServer
- type OMAService_ListOrganizationsClient
- type OMAService_ListOrganizationsServer
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetAccountId() string
- func (x *Organization) GetCreatedOn() *timestamppb.Timestamp
- func (x *Organization) GetDisplayName() string
- func (x *Organization) GetId() string
- func (x *Organization) GetName() string
- func (x *Organization) GetParentId() string
- func (x *Organization) GetTags() map[string]string
- func (x *Organization) GetTenant() string
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetAccountId() string
- func (x *Role) GetCreatedOn() *timestamppb.Timestamp
- func (x *Role) GetDisplayName() string
- func (x *Role) GetId() string
- func (x *Role) GetName() string
- func (x *Role) GetTags() map[string]string
- func (x *Role) GetTenant() string
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type Team
- func (*Team) Descriptor() ([]byte, []int)deprecated
- func (x *Team) GetAccountId() string
- func (x *Team) GetCreatedOn() *timestamppb.Timestamp
- func (x *Team) GetDisplayName() string
- func (x *Team) GetId() string
- func (x *Team) GetName() string
- func (x *Team) GetParentId() string
- func (x *Team) GetTags() map[string]string
- func (x *Team) GetTenant() string
- func (*Team) ProtoMessage()
- func (x *Team) ProtoReflect() protoreflect.Message
- func (x *Team) Reset()
- func (x *Team) String() string
- type UnimplementedOMAServiceServer
- func (UnimplementedOMAServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
- func (UnimplementedOMAServiceServer) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
- func (UnimplementedOMAServiceServer) GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
- func (UnimplementedOMAServiceServer) ListOrganizations(*ListOrganizationsRequest, OMAService_ListOrganizationsServer) error
- type UnsafeOMAServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAccountId() string
- func (x *User) GetCreatedOn() *timestamppb.Timestamp
- func (x *User) GetDisplayName() string
- func (x *User) GetEmail() string
- func (x *User) GetId() string
- func (x *User) GetName() string
- func (x *User) GetTags() map[string]string
- func (x *User) GetTenant() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var File_oma_v1_organization_proto protoreflect.FileDescriptor
var File_oma_v1_role_proto protoreflect.FileDescriptor
var File_oma_v1_service_proto protoreflect.FileDescriptor
var File_oma_v1_team_proto protoreflect.FileDescriptor
var File_oma_v1_user_proto protoreflect.FileDescriptor
var OMAService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "oma.v1.OMAService", HandlerType: (*OMAServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOrganization", Handler: _OMAService_GetOrganization_Handler, }, { MethodName: "CreateOrganization", Handler: _OMAService_CreateOrganization_Handler, }, { MethodName: "DeleteOrganization", Handler: _OMAService_DeleteOrganization_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListOrganizations", Handler: _OMAService_ListOrganizations_Handler, ServerStreams: true, }, }, Metadata: "oma/v1/service.proto", }
OMAService_ServiceDesc is the grpc.ServiceDesc for OMAService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOMAServiceServer ¶ added in v0.0.6
func RegisterOMAServiceServer(s grpc.ServiceRegistrar, srv OMAServiceServer)
Types ¶
type CreateOrganizationFields ¶ added in v0.0.6
type CreateOrganizationFields struct { // AccountId is the identifier for the `any.cloud` `Account` this // `Organization` belongs to. AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Name is a unique identifier within an `Account` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // ParentId is an optional identifier for this `Organization`'s parent ParentId *string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` // Tags contains a set of free-form key/value pairs Tags map[string]string `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateOrganizationFields) Descriptor
deprecated
added in
v0.0.6
func (*CreateOrganizationFields) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationFields.ProtoReflect.Descriptor instead.
func (*CreateOrganizationFields) GetAccountId ¶ added in v0.0.6
func (x *CreateOrganizationFields) GetAccountId() string
func (*CreateOrganizationFields) GetName ¶ added in v0.0.6
func (x *CreateOrganizationFields) GetName() string
func (*CreateOrganizationFields) GetParentId ¶ added in v0.0.6
func (x *CreateOrganizationFields) GetParentId() string
func (*CreateOrganizationFields) GetTags ¶ added in v0.0.6
func (x *CreateOrganizationFields) GetTags() map[string]string
func (*CreateOrganizationFields) ProtoMessage ¶ added in v0.0.6
func (*CreateOrganizationFields) ProtoMessage()
func (*CreateOrganizationFields) ProtoReflect ¶ added in v0.0.6
func (x *CreateOrganizationFields) ProtoReflect() protoreflect.Message
func (*CreateOrganizationFields) Reset ¶ added in v0.0.6
func (x *CreateOrganizationFields) Reset()
func (*CreateOrganizationFields) String ¶ added in v0.0.6
func (x *CreateOrganizationFields) String() string
type CreateOrganizationRequest ¶ added in v0.0.6
type CreateOrganizationRequest struct { Fields *CreateOrganizationFields `protobuf:"bytes,1,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationRequest) Descriptor
deprecated
added in
v0.0.6
func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.
func (*CreateOrganizationRequest) GetFields ¶ added in v0.0.6
func (x *CreateOrganizationRequest) GetFields() *CreateOrganizationFields
func (*CreateOrganizationRequest) ProtoMessage ¶ added in v0.0.6
func (*CreateOrganizationRequest) ProtoMessage()
func (*CreateOrganizationRequest) ProtoReflect ¶ added in v0.0.6
func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
func (*CreateOrganizationRequest) Reset ¶ added in v0.0.6
func (x *CreateOrganizationRequest) Reset()
func (*CreateOrganizationRequest) String ¶ added in v0.0.6
func (x *CreateOrganizationRequest) String() string
type CreateOrganizationResponse ¶ added in v0.0.6
type CreateOrganizationResponse struct { Status *v1.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationResponse) Descriptor
deprecated
added in
v0.0.6
func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead.
func (*CreateOrganizationResponse) GetStatus ¶ added in v0.0.6
func (x *CreateOrganizationResponse) GetStatus() *v1.ResponseStatus
func (*CreateOrganizationResponse) ProtoMessage ¶ added in v0.0.6
func (*CreateOrganizationResponse) ProtoMessage()
func (*CreateOrganizationResponse) ProtoReflect ¶ added in v0.0.6
func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message
func (*CreateOrganizationResponse) Reset ¶ added in v0.0.6
func (x *CreateOrganizationResponse) Reset()
func (*CreateOrganizationResponse) String ¶ added in v0.0.6
func (x *CreateOrganizationResponse) String() string
type DeleteOrganizationRequest ¶ added in v0.0.6
type DeleteOrganizationRequest struct { Params *GetOrganizationRequestParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrganizationRequest) Descriptor
deprecated
added in
v0.0.6
func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationRequest) GetParams ¶ added in v0.0.6
func (x *DeleteOrganizationRequest) GetParams() *GetOrganizationRequestParams
func (*DeleteOrganizationRequest) ProtoMessage ¶ added in v0.0.6
func (*DeleteOrganizationRequest) ProtoMessage()
func (*DeleteOrganizationRequest) ProtoReflect ¶ added in v0.0.6
func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationRequest) Reset ¶ added in v0.0.6
func (x *DeleteOrganizationRequest) Reset()
func (*DeleteOrganizationRequest) String ¶ added in v0.0.6
func (x *DeleteOrganizationRequest) String() string
type DeleteOrganizationResponse ¶ added in v0.0.6
type DeleteOrganizationResponse struct { Status *v1.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrganizationResponse) Descriptor
deprecated
added in
v0.0.6
func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationResponse) GetStatus ¶ added in v0.0.6
func (x *DeleteOrganizationResponse) GetStatus() *v1.ResponseStatus
func (*DeleteOrganizationResponse) ProtoMessage ¶ added in v0.0.6
func (*DeleteOrganizationResponse) ProtoMessage()
func (*DeleteOrganizationResponse) ProtoReflect ¶ added in v0.0.6
func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationResponse) Reset ¶ added in v0.0.6
func (x *DeleteOrganizationResponse) Reset()
func (*DeleteOrganizationResponse) String ¶ added in v0.0.6
func (x *DeleteOrganizationResponse) String() string
type GetOrganizationRequest ¶ added in v0.0.6
type GetOrganizationRequest struct { Params *GetOrganizationRequestParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` Options *GetOrganizationRequestOptions `protobuf:"bytes,2,opt,name=options,proto3,oneof" json:"options,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationRequest) Descriptor
deprecated
added in
v0.0.6
func (*GetOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationRequest) GetOptions ¶ added in v0.0.6
func (x *GetOrganizationRequest) GetOptions() *GetOrganizationRequestOptions
func (*GetOrganizationRequest) GetParams ¶ added in v0.0.6
func (x *GetOrganizationRequest) GetParams() *GetOrganizationRequestParams
func (*GetOrganizationRequest) ProtoMessage ¶ added in v0.0.6
func (*GetOrganizationRequest) ProtoMessage()
func (*GetOrganizationRequest) ProtoReflect ¶ added in v0.0.6
func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationRequest) Reset ¶ added in v0.0.6
func (x *GetOrganizationRequest) Reset()
func (*GetOrganizationRequest) String ¶ added in v0.0.6
func (x *GetOrganizationRequest) String() string
type GetOrganizationRequestOptions ¶ added in v0.0.6
type GetOrganizationRequestOptions struct { ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=read_mask,json=readMask,proto3,oneof" json:"read_mask,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationRequestOptions) Descriptor
deprecated
added in
v0.0.6
func (*GetOrganizationRequestOptions) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationRequestOptions.ProtoReflect.Descriptor instead.
func (*GetOrganizationRequestOptions) GetReadMask ¶ added in v0.0.6
func (x *GetOrganizationRequestOptions) GetReadMask() *fieldmaskpb.FieldMask
func (*GetOrganizationRequestOptions) ProtoMessage ¶ added in v0.0.6
func (*GetOrganizationRequestOptions) ProtoMessage()
func (*GetOrganizationRequestOptions) ProtoReflect ¶ added in v0.0.6
func (x *GetOrganizationRequestOptions) ProtoReflect() protoreflect.Message
func (*GetOrganizationRequestOptions) Reset ¶ added in v0.0.6
func (x *GetOrganizationRequestOptions) Reset()
func (*GetOrganizationRequestOptions) String ¶ added in v0.0.6
func (x *GetOrganizationRequestOptions) String() string
type GetOrganizationRequestParams ¶ added in v0.0.6
type GetOrganizationRequestParams struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationRequestParams) Descriptor
deprecated
added in
v0.0.6
func (*GetOrganizationRequestParams) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationRequestParams.ProtoReflect.Descriptor instead.
func (*GetOrganizationRequestParams) GetId ¶ added in v0.0.6
func (x *GetOrganizationRequestParams) GetId() string
func (*GetOrganizationRequestParams) GetName ¶ added in v0.0.6
func (x *GetOrganizationRequestParams) GetName() string
func (*GetOrganizationRequestParams) ProtoMessage ¶ added in v0.0.6
func (*GetOrganizationRequestParams) ProtoMessage()
func (*GetOrganizationRequestParams) ProtoReflect ¶ added in v0.0.6
func (x *GetOrganizationRequestParams) ProtoReflect() protoreflect.Message
func (*GetOrganizationRequestParams) Reset ¶ added in v0.0.6
func (x *GetOrganizationRequestParams) Reset()
func (*GetOrganizationRequestParams) String ¶ added in v0.0.6
func (x *GetOrganizationRequestParams) String() string
type GetOrganizationResponse ¶ added in v0.0.6
type GetOrganizationResponse struct { Status *v1.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationResponse) Descriptor
deprecated
added in
v0.0.6
func (*GetOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizationResponse) GetOrganization ¶ added in v0.0.6
func (x *GetOrganizationResponse) GetOrganization() *Organization
func (*GetOrganizationResponse) GetStatus ¶ added in v0.0.6
func (x *GetOrganizationResponse) GetStatus() *v1.ResponseStatus
func (*GetOrganizationResponse) ProtoMessage ¶ added in v0.0.6
func (*GetOrganizationResponse) ProtoMessage()
func (*GetOrganizationResponse) ProtoReflect ¶ added in v0.0.6
func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message
func (*GetOrganizationResponse) Reset ¶ added in v0.0.6
func (x *GetOrganizationResponse) Reset()
func (*GetOrganizationResponse) String ¶ added in v0.0.6
func (x *GetOrganizationResponse) String() string
type ListOrganizationsRequest ¶ added in v0.0.6
type ListOrganizationsRequest struct { // Specify search filters for listing `Organizations`. If not specified, // all `Organizations` will be returned, ordered by name, in pages of 50 Params *ListOrganizationsRequestParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // Specify things like which fields to set on returned `Organizations` Options *GetOrganizationRequestOptions `protobuf:"bytes,2,opt,name=options,proto3,oneof" json:"options,omitempty"` // contains filtered or unexported fields }
Payload for requesting zero or more `Organizations` matching a set of filters
func (*ListOrganizationsRequest) Descriptor
deprecated
added in
v0.0.6
func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsRequest.ProtoReflect.Descriptor instead.
func (*ListOrganizationsRequest) GetOptions ¶ added in v0.0.6
func (x *ListOrganizationsRequest) GetOptions() *GetOrganizationRequestOptions
func (*ListOrganizationsRequest) GetParams ¶ added in v0.0.6
func (x *ListOrganizationsRequest) GetParams() *ListOrganizationsRequestParams
func (*ListOrganizationsRequest) ProtoMessage ¶ added in v0.0.6
func (*ListOrganizationsRequest) ProtoMessage()
func (*ListOrganizationsRequest) ProtoReflect ¶ added in v0.0.6
func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*ListOrganizationsRequest) Reset ¶ added in v0.0.6
func (x *ListOrganizationsRequest) Reset()
func (*ListOrganizationsRequest) String ¶ added in v0.0.6
func (x *ListOrganizationsRequest) String() string
type ListOrganizationsRequestParams ¶ added in v0.0.6
type ListOrganizationsRequestParams struct { // Match `Organizations` with *any* of these Ids Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // Match `Organizations` with *any* of these Names Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` // Match `Organizations` having *any* of these ParentIds ParentIds []string `protobuf:"bytes,3,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` // Specify true if you want to include in the result all of an // `Organization`'s sub-organizations (its children) IncludeChildren bool `protobuf:"varint,4,opt,name=include_children,json=includeChildren,proto3" json:"include_children,omitempty"` // Specify this to change the number of `Organizations` per page of results ResultsPerPage *uint32 `protobuf:"varint,15,opt,name=results_per_page,json=resultsPerPage,proto3,oneof" json:"results_per_page,omitempty"` // Supply this value when paginating and retrieving the next page of // results Marker *string `protobuf:"bytes,99,opt,name=marker,proto3,oneof" json:"marker,omitempty"` // contains filtered or unexported fields }
Specify search parameters and filters for listing `Organizations`
func (*ListOrganizationsRequestParams) Descriptor
deprecated
added in
v0.0.6
func (*ListOrganizationsRequestParams) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsRequestParams.ProtoReflect.Descriptor instead.
func (*ListOrganizationsRequestParams) GetIds ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) GetIds() []string
func (*ListOrganizationsRequestParams) GetIncludeChildren ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) GetIncludeChildren() bool
func (*ListOrganizationsRequestParams) GetMarker ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) GetMarker() string
func (*ListOrganizationsRequestParams) GetNames ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) GetNames() []string
func (*ListOrganizationsRequestParams) GetParentIds ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) GetParentIds() []string
func (*ListOrganizationsRequestParams) GetResultsPerPage ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) GetResultsPerPage() uint32
func (*ListOrganizationsRequestParams) ProtoMessage ¶ added in v0.0.6
func (*ListOrganizationsRequestParams) ProtoMessage()
func (*ListOrganizationsRequestParams) ProtoReflect ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) ProtoReflect() protoreflect.Message
func (*ListOrganizationsRequestParams) Reset ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) Reset()
func (*ListOrganizationsRequestParams) String ¶ added in v0.0.6
func (x *ListOrganizationsRequestParams) String() string
type ListOrganizationsResponse ¶ added in v0.0.6
type ListOrganizationsResponse struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationsResponse) Descriptor
deprecated
added in
v0.0.6
func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsResponse.ProtoReflect.Descriptor instead.
func (*ListOrganizationsResponse) GetOrganization ¶ added in v0.0.6
func (x *ListOrganizationsResponse) GetOrganization() *Organization
func (*ListOrganizationsResponse) ProtoMessage ¶ added in v0.0.6
func (*ListOrganizationsResponse) ProtoMessage()
func (*ListOrganizationsResponse) ProtoReflect ¶ added in v0.0.6
func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*ListOrganizationsResponse) Reset ¶ added in v0.0.6
func (x *ListOrganizationsResponse) Reset()
func (*ListOrganizationsResponse) String ¶ added in v0.0.6
func (x *ListOrganizationsResponse) String() string
type OMAServiceClient ¶ added in v0.0.6
type OMAServiceClient interface { // Returns information about a single `Organization`. // // If the organization is not accessible by the authenticated principal or // does not exist, an empty `Organization` message is returned within the // `OrganizationGetResponse` message's `organization` field and the // `status` field will contain a 404 code. GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error) // Returns information about `Organizations` in the authenticated // principal's `any.cloud` `Account` that the principal has access to. ListOrganizations(ctx context.Context, in *ListOrganizationsRequest, opts ...grpc.CallOption) (OMAService_ListOrganizationsClient, error) // Creates a new `Organization` CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error) // Deletes an `Organization` DeleteOrganization(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error) }
OMAServiceClient is the client API for OMAService 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 NewOMAServiceClient ¶ added in v0.0.6
func NewOMAServiceClient(cc grpc.ClientConnInterface) OMAServiceClient
type OMAServiceServer ¶ added in v0.0.6
type OMAServiceServer interface { // Returns information about a single `Organization`. // // If the organization is not accessible by the authenticated principal or // does not exist, an empty `Organization` message is returned within the // `OrganizationGetResponse` message's `organization` field and the // `status` field will contain a 404 code. GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error) // Returns information about `Organizations` in the authenticated // principal's `any.cloud` `Account` that the principal has access to. ListOrganizations(*ListOrganizationsRequest, OMAService_ListOrganizationsServer) error // Creates a new `Organization` CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error) // Deletes an `Organization` DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error) // contains filtered or unexported methods }
OMAServiceServer is the server API for OMAService service. All implementations must embed UnimplementedOMAServiceServer for forward compatibility
type OMAService_ListOrganizationsClient ¶ added in v0.0.6
type OMAService_ListOrganizationsClient interface { Recv() (*ListOrganizationsResponse, error) grpc.ClientStream }
type OMAService_ListOrganizationsServer ¶ added in v0.0.6
type OMAService_ListOrganizationsServer interface { Send(*ListOrganizationsResponse) error grpc.ServerStream }
type Organization ¶
type Organization struct { // Id is a globally unique identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // AccountId is the identifier for the `any.cloud` `Account` this // `Organization` belongs to. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Name is a unique identifier within an `Account` and `Tenant` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // DisplayName is not unique DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // ParentId is an optional identifier for this `Organization`'s parent ParentId *string `protobuf:"bytes,5,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` // Tenant is an optional string identifier for a tenant in a multi-tenant // calling account. // // If you are calling an `any.cloud` API *on behalf of* one of your own // accounts/users and want to expose `any.cloud` services to your users // without them interfering with each other or allowing you to control // rate-limiting and API quotas per user, you will specify this field. // Empty values mean the tenant == account_id, i.e. the API is being called // in "single-tenant" mode and will be rate-limited in aggregate to the // account ID. Tenant *string `protobuf:"bytes,13,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"` // CreatedOn contains the UTC timestamp of when this `Organization` was // created in `any.cloud` CreatedOn *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // Tags contains a set of free-form key/value pairs Tags map[string]string `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
An `Organization` is a container for zero or more `Organizations` (sub-orgs or organizational units). An `Organization` is associated with a single `Account`.
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetAccountId ¶
func (x *Organization) GetAccountId() string
func (*Organization) GetCreatedOn ¶ added in v0.0.3
func (x *Organization) GetCreatedOn() *timestamppb.Timestamp
func (*Organization) GetDisplayName ¶ added in v0.0.2
func (x *Organization) GetDisplayName() string
func (*Organization) GetId ¶
func (x *Organization) GetId() string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetParentId ¶
func (x *Organization) GetParentId() string
func (*Organization) GetTags ¶
func (x *Organization) GetTags() map[string]string
func (*Organization) GetTenant ¶ added in v0.0.5
func (x *Organization) GetTenant() string
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type Role ¶
type Role struct { // Id is a globally unique identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // AccountId is the identifier for the `any.cloud` `Account` this // `Role` belongs to. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Name is a unique identifier within an `Account` and `Tenant` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // DisplayName is not unique DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Tenant is an optional string identifier for a tenant in a multi-tenant // calling account. // // If you are calling an `any.cloud` API *on behalf of* one of your own // accounts/users and want to expose `any.cloud` services to your users // without them interfering with each other or allowing you to control // rate-limiting and API quotas per user, you will specify this field. // Empty values mean the tenant == account_id, i.e. the API is being called // in "single-tenant" mode and will be rate-limited in aggregate to the // account ID. Tenant *string `protobuf:"bytes,13,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"` // CreatedOn contains the UTC timestamp of when this `Account` was // created in `any.cloud` CreatedOn *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // Tags contains a set of free-form key/value pairs Tags map[string]string `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
A `Role` is a collection of `Permissions` that an authenticated `User` will be granted when calling an `any.cloud` service.
func (*Role) Descriptor
deprecated
func (*Role) GetAccountId ¶
func (*Role) GetCreatedOn ¶ added in v0.0.3
func (x *Role) GetCreatedOn() *timestamppb.Timestamp
func (*Role) GetDisplayName ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type Team ¶
type Team struct { // Id is a globally unique identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // AccountId is the identifier for the `any.cloud` `Account` this // `Team` belongs to. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Name is a unique identifier within an `Account` and `Tenant` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // DisplayName is not unique DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // ParentId is an optional identifier for this `Team`'s parent ParentId *string `protobuf:"bytes,5,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"` // Tenant is an optional string identifier for a tenant in a multi-tenant // calling account. // // If you are calling an `any.cloud` API *on behalf of* one of your own // accounts/users and want to expose `any.cloud` services to your users // without them interfering with each other or allowing you to control // rate-limiting and API quotas per user, you will specify this field. // Empty values mean the tenant == account_id, i.e. the API is being called // in "single-tenant" mode and will be rate-limited in aggregate to the // account ID. Tenant *string `protobuf:"bytes,13,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"` // CreatedOn contains the UTC timestamp of when this `Account` was // created in `any.cloud` CreatedOn *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // Tags contains a set of free-form key/value pairs Tags map[string]string `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
A `Team` is a container for zero or more `Users`. `Teams` can have zero or more sub-teams.
func (*Team) Descriptor
deprecated
func (*Team) GetAccountId ¶
func (*Team) GetCreatedOn ¶ added in v0.0.3
func (x *Team) GetCreatedOn() *timestamppb.Timestamp
func (*Team) GetDisplayName ¶ added in v0.0.2
func (*Team) GetParentId ¶
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) ProtoReflect ¶
func (x *Team) ProtoReflect() protoreflect.Message
type UnimplementedOMAServiceServer ¶ added in v0.0.6
type UnimplementedOMAServiceServer struct { }
UnimplementedOMAServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOMAServiceServer) CreateOrganization ¶ added in v0.0.6
func (UnimplementedOMAServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
func (UnimplementedOMAServiceServer) DeleteOrganization ¶ added in v0.0.6
func (UnimplementedOMAServiceServer) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
func (UnimplementedOMAServiceServer) GetOrganization ¶ added in v0.0.6
func (UnimplementedOMAServiceServer) GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
func (UnimplementedOMAServiceServer) ListOrganizations ¶ added in v0.0.6
func (UnimplementedOMAServiceServer) ListOrganizations(*ListOrganizationsRequest, OMAService_ListOrganizationsServer) error
type UnsafeOMAServiceServer ¶ added in v0.0.6
type UnsafeOMAServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOMAServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OMAServiceServer will result in compilation errors.
type User ¶
type User struct { // Id is a globally unique identifier Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // AccountId is the identifier for the `any.cloud` `Account` this // `User` belongs to. AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // Name is a unique identifier within an `Account` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // DisplayName is not unique DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Email is an optional valid RFC 5321 email address Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Tenant is an optional string identifier for a tenant in a multi-tenant // calling account. // // If you are calling an `any.cloud` API *on behalf of* one of your own // accounts/users and want to expose `any.cloud` services to your users // without them interfering with each other or allowing you to control // rate-limiting and API quotas per user, you will specify this field. // Empty values mean the tenant == account_id, i.e. the API is being called // in "single-tenant" mode and will be rate-limited in aggregate to the // account ID. Tenant *string `protobuf:"bytes,13,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"` // CreatedOn contains the UTC timestamp of when this `Account` was // created in `any.cloud` CreatedOn *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_on,json=createdOn,proto3" json:"created_on,omitempty"` // Tags contains a set of free-form key/value pairs Tags map[string]string `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
A `User` is caller of an `any.cloud` service. They may be human or non-human and belong to zero or more `Teams`.
func (*User) Descriptor
deprecated
func (*User) GetAccountId ¶
func (*User) GetCreatedOn ¶ added in v0.0.3
func (x *User) GetCreatedOn() *timestamppb.Timestamp
func (*User) GetDisplayName ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message