iam

package
v0.69.94 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Overview

Package iam is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Iam_WhoAmI_FullMethodName                                     = "/blueapi.iam.v1.Iam/WhoAmI"
	Iam_ListUsers_FullMethodName                                  = "/blueapi.iam.v1.Iam/ListUsers"
	Iam_GetUser_FullMethodName                                    = "/blueapi.iam.v1.Iam/GetUser"
	Iam_CreateUser_FullMethodName                                 = "/blueapi.iam.v1.Iam/CreateUser"
	Iam_DeleteUser_FullMethodName                                 = "/blueapi.iam.v1.Iam/DeleteUser"
	Iam_CreateGroupRootUser_FullMethodName                        = "/blueapi.iam.v1.Iam/CreateGroupRootUser"
	Iam_ListGroupRootUsers_FullMethodName                         = "/blueapi.iam.v1.Iam/ListGroupRootUsers"
	Iam_GetGroupRootUser_FullMethodName                           = "/blueapi.iam.v1.Iam/GetGroupRootUser"
	Iam_DeleteGroupRootUser_FullMethodName                        = "/blueapi.iam.v1.Iam/DeleteGroupRootUser"
	Iam_GetFeatureFlags_FullMethodName                            = "/blueapi.iam.v1.Iam/GetFeatureFlags"
	Iam_UpdateFeatureFlags_FullMethodName                         = "/blueapi.iam.v1.Iam/UpdateFeatureFlags"
	Iam_ListApiClients_FullMethodName                             = "/blueapi.iam.v1.Iam/ListApiClients"
	Iam_CreateApiClient_FullMethodName                            = "/blueapi.iam.v1.Iam/CreateApiClient"
	Iam_DeleteApiClient_FullMethodName                            = "/blueapi.iam.v1.Iam/DeleteApiClient"
	Iam_ListPermissions_FullMethodName                            = "/blueapi.iam.v1.Iam/ListPermissions"
	Iam_ListRoles_FullMethodName                                  = "/blueapi.iam.v1.Iam/ListRoles"
	Iam_CreateRole_FullMethodName                                 = "/blueapi.iam.v1.Iam/CreateRole"
	Iam_UpdateRole_FullMethodName                                 = "/blueapi.iam.v1.Iam/UpdateRole"
	Iam_DeleteRole_FullMethodName                                 = "/blueapi.iam.v1.Iam/DeleteRole"
	Iam_ListUserRoleMappings_FullMethodName                       = "/blueapi.iam.v1.Iam/ListUserRoleMappings"
	Iam_CreateUserRoleMapping_FullMethodName                      = "/blueapi.iam.v1.Iam/CreateUserRoleMapping"
	Iam_UpdateUserRoleMapping_FullMethodName                      = "/blueapi.iam.v1.Iam/UpdateUserRoleMapping"
	Iam_ListIdentityProviders_FullMethodName                      = "/blueapi.iam.v1.Iam/ListIdentityProviders"
	Iam_CreateIdentityProvider_FullMethodName                     = "/blueapi.iam.v1.Iam/CreateIdentityProvider"
	Iam_DeleteIdentityProvider_FullMethodName                     = "/blueapi.iam.v1.Iam/DeleteIdentityProvider"
	Iam_ListIpFilters_FullMethodName                              = "/blueapi.iam.v1.Iam/ListIpFilters"
	Iam_CreateIpFilter_FullMethodName                             = "/blueapi.iam.v1.Iam/CreateIpFilter"
	Iam_DeleteIpFilter_FullMethodName                             = "/blueapi.iam.v1.Iam/DeleteIpFilter"
	Iam_CreatePartnerToken_FullMethodName                         = "/blueapi.iam.v1.Iam/CreatePartnerToken"
	Iam_RefreshPartnerToken_FullMethodName                        = "/blueapi.iam.v1.Iam/RefreshPartnerToken"
	Iam_VerifyUserForResetPassword_FullMethodName                 = "/blueapi.iam.v1.Iam/VerifyUserForResetPassword"
	Iam_ValidateResetPasswordLinkAndChangePassword_FullMethodName = "/blueapi.iam.v1.Iam/ValidateResetPasswordLinkAndChangePassword"
	Iam_GetMFAUsers_FullMethodName                                = "/blueapi.iam.v1.Iam/GetMFAUsers"
)

Variables

View Source
var File_iam_v1_iam_proto protoreflect.FileDescriptor
View Source
var Iam_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "blueapi.iam.v1.Iam",
	HandlerType: (*IamServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "WhoAmI",
			Handler:    _Iam_WhoAmI_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _Iam_GetUser_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _Iam_CreateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _Iam_DeleteUser_Handler,
		},
		{
			MethodName: "CreateGroupRootUser",
			Handler:    _Iam_CreateGroupRootUser_Handler,
		},
		{
			MethodName: "GetGroupRootUser",
			Handler:    _Iam_GetGroupRootUser_Handler,
		},
		{
			MethodName: "DeleteGroupRootUser",
			Handler:    _Iam_DeleteGroupRootUser_Handler,
		},
		{
			MethodName: "GetFeatureFlags",
			Handler:    _Iam_GetFeatureFlags_Handler,
		},
		{
			MethodName: "UpdateFeatureFlags",
			Handler:    _Iam_UpdateFeatureFlags_Handler,
		},
		{
			MethodName: "CreateApiClient",
			Handler:    _Iam_CreateApiClient_Handler,
		},
		{
			MethodName: "DeleteApiClient",
			Handler:    _Iam_DeleteApiClient_Handler,
		},
		{
			MethodName: "ListPermissions",
			Handler:    _Iam_ListPermissions_Handler,
		},
		{
			MethodName: "ListRoles",
			Handler:    _Iam_ListRoles_Handler,
		},
		{
			MethodName: "CreateRole",
			Handler:    _Iam_CreateRole_Handler,
		},
		{
			MethodName: "UpdateRole",
			Handler:    _Iam_UpdateRole_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _Iam_DeleteRole_Handler,
		},
		{
			MethodName: "ListUserRoleMappings",
			Handler:    _Iam_ListUserRoleMappings_Handler,
		},
		{
			MethodName: "CreateUserRoleMapping",
			Handler:    _Iam_CreateUserRoleMapping_Handler,
		},
		{
			MethodName: "UpdateUserRoleMapping",
			Handler:    _Iam_UpdateUserRoleMapping_Handler,
		},
		{
			MethodName: "ListIdentityProviders",
			Handler:    _Iam_ListIdentityProviders_Handler,
		},
		{
			MethodName: "CreateIdentityProvider",
			Handler:    _Iam_CreateIdentityProvider_Handler,
		},
		{
			MethodName: "DeleteIdentityProvider",
			Handler:    _Iam_DeleteIdentityProvider_Handler,
		},
		{
			MethodName: "CreateIpFilter",
			Handler:    _Iam_CreateIpFilter_Handler,
		},
		{
			MethodName: "DeleteIpFilter",
			Handler:    _Iam_DeleteIpFilter_Handler,
		},
		{
			MethodName: "CreatePartnerToken",
			Handler:    _Iam_CreatePartnerToken_Handler,
		},
		{
			MethodName: "RefreshPartnerToken",
			Handler:    _Iam_RefreshPartnerToken_Handler,
		},
		{
			MethodName: "VerifyUserForResetPassword",
			Handler:    _Iam_VerifyUserForResetPassword_Handler,
		},
		{
			MethodName: "ValidateResetPasswordLinkAndChangePassword",
			Handler:    _Iam_ValidateResetPasswordLinkAndChangePassword_Handler,
		},
		{
			MethodName: "GetMFAUsers",
			Handler:    _Iam_GetMFAUsers_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListUsers",
			Handler:       _Iam_ListUsers_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListGroupRootUsers",
			Handler:       _Iam_ListGroupRootUsers_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListApiClients",
			Handler:       _Iam_ListApiClients_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "ListIpFilters",
			Handler:       _Iam_ListIpFilters_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "iam/v1/iam.proto",
}

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

Functions

func RegisterIamHandler

func RegisterIamHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterIamHandler registers the http handlers for service Iam to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterIamHandlerClient

func RegisterIamHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IamClient) error

RegisterIamHandlerClient registers the http handlers for service Iam to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IamClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IamClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IamClient" to call the correct interceptors.

func RegisterIamHandlerFromEndpoint

func RegisterIamHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterIamHandlerFromEndpoint is same as RegisterIamHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterIamHandlerServer

func RegisterIamHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IamServer) error

RegisterIamHandlerServer registers the http handlers for service Iam to "mux". UnaryRPC :call IamServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIamHandlerFromEndpoint instead.

func RegisterIamServer

func RegisterIamServer(s grpc.ServiceRegistrar, srv IamServer)

Types

type ClientOptions added in v0.6.10

type ClientOptions struct {
	Conn *conn.GrpcClientConn
}

ClientOptions represents the optional options to NewClient.

type CreateApiClientRequest added in v0.15.0

type CreateApiClientRequest struct {

	// Required. The descriptive name of the API client to create.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.CreateApiClient rpc.

func (*CreateApiClientRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use CreateApiClientRequest.ProtoReflect.Descriptor instead.

func (*CreateApiClientRequest) GetName added in v0.15.0

func (x *CreateApiClientRequest) GetName() string

func (*CreateApiClientRequest) ProtoMessage added in v0.15.0

func (*CreateApiClientRequest) ProtoMessage()

func (*CreateApiClientRequest) ProtoReflect added in v0.15.0

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

func (*CreateApiClientRequest) Reset added in v0.15.0

func (x *CreateApiClientRequest) Reset()

func (*CreateApiClientRequest) String added in v0.15.0

func (x *CreateApiClientRequest) String() string

type CreateGroupRootUserRequest added in v0.49.0

type CreateGroupRootUserRequest struct {

	// The email address of the user being created.
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// The password of the user being created. A value will be generated if not is provided for this field
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// The ID of the group to which the user will be added. This must either be a billing group ID or an access group ID.
	GroupId string `protobuf:"bytes,3,opt,name=groupId,proto3" json:"groupId,omitempty"`
	// The type of group which is represented by the group ID. Valid values include "billing_group" or "access_group".
	GroupType string `protobuf:"bytes,4,opt,name=groupType,proto3" json:"groupType,omitempty"`
	// This value determines whether the password should be auto-generated or if the plaintext value received with the request should be used. A value of "Auto" will result in an auto-generated password whereas a value of "Custom" will result in the password included with the request being used.
	InputType string `protobuf:"bytes,5,opt,name=inputType,proto3" json:"inputType,omitempty"`
	// The plan associated with the root-user account. Valid values include "trial", "limited3" and "limited4".
	Plan string `protobuf:"bytes,6,opt,name=plan,proto3" json:"plan,omitempty"`
	// Whether or not a notification should be sent to the provided email after the user has been created.
	EmailNotification bool `protobuf:"varint,7,opt,name=emailNotification,proto3" json:"emailNotification,omitempty"`
	// A collection of feature flags and whether or not they should be enabled. For a full list of such flags, see https://labs.alphaus.cloud/docs/blueapi/apis/iam/.
	Meta *api.FeatureFlags `protobuf:"bytes,8,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.CreateGroupRootUser rpc

func (*CreateGroupRootUserRequest) Descriptor deprecated added in v0.49.0

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

Deprecated: Use CreateGroupRootUserRequest.ProtoReflect.Descriptor instead.

func (*CreateGroupRootUserRequest) GetEmail added in v0.49.0

func (x *CreateGroupRootUserRequest) GetEmail() string

func (*CreateGroupRootUserRequest) GetEmailNotification added in v0.49.0

func (x *CreateGroupRootUserRequest) GetEmailNotification() bool

func (*CreateGroupRootUserRequest) GetGroupId added in v0.49.0

func (x *CreateGroupRootUserRequest) GetGroupId() string

func (*CreateGroupRootUserRequest) GetGroupType added in v0.49.0

func (x *CreateGroupRootUserRequest) GetGroupType() string

func (*CreateGroupRootUserRequest) GetInputType added in v0.49.0

func (x *CreateGroupRootUserRequest) GetInputType() string

func (*CreateGroupRootUserRequest) GetMeta added in v0.49.1

func (*CreateGroupRootUserRequest) GetPassword added in v0.49.3

func (x *CreateGroupRootUserRequest) GetPassword() string

func (*CreateGroupRootUserRequest) GetPlan added in v0.49.0

func (x *CreateGroupRootUserRequest) GetPlan() string

func (*CreateGroupRootUserRequest) ProtoMessage added in v0.49.0

func (*CreateGroupRootUserRequest) ProtoMessage()

func (*CreateGroupRootUserRequest) ProtoReflect added in v0.49.0

func (*CreateGroupRootUserRequest) Reset added in v0.49.0

func (x *CreateGroupRootUserRequest) Reset()

func (*CreateGroupRootUserRequest) String added in v0.49.0

func (x *CreateGroupRootUserRequest) String() string

type CreateIdentityProviderRequest added in v0.51.0

type CreateIdentityProviderRequest struct {

	// Required. The IdP name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Value is `saml`.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Required. The contents of the metadata file from your IdP.
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.CreateIdentityProvider rpc.

func (*CreateIdentityProviderRequest) Descriptor deprecated added in v0.51.0

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

Deprecated: Use CreateIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*CreateIdentityProviderRequest) GetMetadata added in v0.51.0

func (x *CreateIdentityProviderRequest) GetMetadata() string

func (*CreateIdentityProviderRequest) GetName added in v0.51.0

func (*CreateIdentityProviderRequest) GetType added in v0.51.0

func (*CreateIdentityProviderRequest) ProtoMessage added in v0.51.0

func (*CreateIdentityProviderRequest) ProtoMessage()

func (*CreateIdentityProviderRequest) ProtoReflect added in v0.51.0

func (*CreateIdentityProviderRequest) Reset added in v0.51.0

func (x *CreateIdentityProviderRequest) Reset()

func (*CreateIdentityProviderRequest) String added in v0.51.0

type CreateIpFilterRequest added in v0.9.7

type CreateIpFilterRequest struct {

	// Required. The IP input to filter, either blacklist or whitelist. Should be in CIDR format (i.e. `1.2.3.4/32`).
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Optional. Can be `whitelist` or `blacklist`. Defaults to `blacklist` if empty.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Optional. If `rootUser` is valid and `subUser` is empty, filter is for this rootuser. If both `rootUser` and `subUser` inputs are empty, filter is at global scope.
	RootUser string `protobuf:"bytes,3,opt,name=rootUser,proto3" json:"rootUser,omitempty"`
	// Optional. If `subuser` is valid, filter is for this subuser; `rootUser` value is discarded. If both `rootUser` and `subUser` inputs are empty, filter is at global scope.
	SubUser string `protobuf:"bytes,4,opt,name=subUser,proto3" json:"subUser,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.CreateIpFilter rpc.

func (*CreateIpFilterRequest) Descriptor deprecated added in v0.9.7

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

Deprecated: Use CreateIpFilterRequest.ProtoReflect.Descriptor instead.

func (*CreateIpFilterRequest) GetRootUser added in v0.9.7

func (x *CreateIpFilterRequest) GetRootUser() string

func (*CreateIpFilterRequest) GetSubUser added in v0.9.7

func (x *CreateIpFilterRequest) GetSubUser() string

func (*CreateIpFilterRequest) GetType added in v0.9.7

func (x *CreateIpFilterRequest) GetType() string

func (*CreateIpFilterRequest) GetValue added in v0.9.7

func (x *CreateIpFilterRequest) GetValue() string

func (*CreateIpFilterRequest) ProtoMessage added in v0.9.7

func (*CreateIpFilterRequest) ProtoMessage()

func (*CreateIpFilterRequest) ProtoReflect added in v0.9.7

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

func (*CreateIpFilterRequest) Reset added in v0.9.7

func (x *CreateIpFilterRequest) Reset()

func (*CreateIpFilterRequest) String added in v0.9.7

func (x *CreateIpFilterRequest) String() string

type CreatePartnerTokenRequest added in v0.65.54

type CreatePartnerTokenRequest struct {

	// Required. Partner id or audience for the token.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.CreatePartnerToken rpc.

func (*CreatePartnerTokenRequest) Descriptor deprecated added in v0.65.54

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

Deprecated: Use CreatePartnerTokenRequest.ProtoReflect.Descriptor instead.

func (*CreatePartnerTokenRequest) GetId added in v0.65.55

func (x *CreatePartnerTokenRequest) GetId() string

func (*CreatePartnerTokenRequest) ProtoMessage added in v0.65.54

func (*CreatePartnerTokenRequest) ProtoMessage()

func (*CreatePartnerTokenRequest) ProtoReflect added in v0.65.54

func (*CreatePartnerTokenRequest) Reset added in v0.65.54

func (x *CreatePartnerTokenRequest) Reset()

func (*CreatePartnerTokenRequest) String added in v0.65.54

func (x *CreatePartnerTokenRequest) String() string

type CreateRoleRequest added in v0.34.0

type CreateRoleRequest struct {

	// Required. The name of the role to create. Role names should have at least 6 characters in length and 32 characters maximum. It should also be alphanumeric. Hyphens and underscores are allowed in between. The regular expression used for validation is `^[A-Za-z0-9][A-Za-z0-9_-]*[A-Za-z0-9]$`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The namespace where this role will belong.
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Required. The list of permissions to attach to this role.
	Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.CreateRole rpc.

func (*CreateRoleRequest) Descriptor deprecated added in v0.34.0

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

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetName added in v0.34.0

func (x *CreateRoleRequest) GetName() string

func (*CreateRoleRequest) GetNamespace added in v0.34.0

func (x *CreateRoleRequest) GetNamespace() string

func (*CreateRoleRequest) GetPermissions added in v0.34.0

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

func (*CreateRoleRequest) ProtoMessage added in v0.34.0

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect added in v0.34.0

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

func (*CreateRoleRequest) Reset added in v0.34.0

func (x *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String added in v0.34.0

func (x *CreateRoleRequest) String() string

type CreateUserRequest added in v0.11.0

type CreateUserRequest struct {

	// Required. Min: 4, max: 18, allowed characters: letters, numbers, `_` (underscore), `.` (period) and `-` (hyphen) characters.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Minimum of 8 characters.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Optional. Email address of the subuser.
	Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// Optional. Nickname or description. It is set to 'name' if empty.
	NickName string `protobuf:"bytes,4,opt,name=nickName,proto3" json:"nickName,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.CreateUser rpc.

func (*CreateUserRequest) Descriptor deprecated added in v0.11.0

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail added in v0.11.0

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetName added in v0.11.0

func (x *CreateUserRequest) GetName() string

func (*CreateUserRequest) GetNickName added in v0.11.1

func (x *CreateUserRequest) GetNickName() string

func (*CreateUserRequest) GetPassword added in v0.11.0

func (x *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) ProtoMessage added in v0.11.0

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect added in v0.11.0

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

func (*CreateUserRequest) Reset added in v0.11.0

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String added in v0.11.0

func (x *CreateUserRequest) String() string

type CreateUserRoleMappingRequest added in v0.35.0

type CreateUserRoleMappingRequest struct {

	// Optional. The subuser to map the roles. Defaults to caller if not set.
	SubUser string `protobuf:"bytes,1,opt,name=subUser,proto3" json:"subUser,omitempty"`
	// Required. The roles to map to the user. Limited to 5 items.
	Roles []*MapRole `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.CreateUserRoleMapping rpc.

func (*CreateUserRoleMappingRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use CreateUserRoleMappingRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRoleMappingRequest) GetRoles added in v0.35.0

func (x *CreateUserRoleMappingRequest) GetRoles() []*MapRole

func (*CreateUserRoleMappingRequest) GetSubUser added in v0.35.0

func (x *CreateUserRoleMappingRequest) GetSubUser() string

func (*CreateUserRoleMappingRequest) ProtoMessage added in v0.35.0

func (*CreateUserRoleMappingRequest) ProtoMessage()

func (*CreateUserRoleMappingRequest) ProtoReflect added in v0.35.0

func (*CreateUserRoleMappingRequest) Reset added in v0.35.0

func (x *CreateUserRoleMappingRequest) Reset()

func (*CreateUserRoleMappingRequest) String added in v0.35.0

type CreateUserRoleMappingResponse added in v0.35.0

type CreateUserRoleMappingResponse struct {
	Success []string `protobuf:"bytes,1,rep,name=success,proto3" json:"success,omitempty"`
	Failed  []string `protobuf:"bytes,2,rep,name=failed,proto3" json:"failed,omitempty"`
	Filters []string `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Iam.CreateUserRoleMapping rpc.

func (*CreateUserRoleMappingResponse) Descriptor deprecated added in v0.35.0

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

Deprecated: Use CreateUserRoleMappingResponse.ProtoReflect.Descriptor instead.

func (*CreateUserRoleMappingResponse) GetFailed added in v0.35.0

func (x *CreateUserRoleMappingResponse) GetFailed() []string

func (*CreateUserRoleMappingResponse) GetFilters added in v0.35.0

func (x *CreateUserRoleMappingResponse) GetFilters() []string

func (*CreateUserRoleMappingResponse) GetSuccess added in v0.35.0

func (x *CreateUserRoleMappingResponse) GetSuccess() []string

func (*CreateUserRoleMappingResponse) ProtoMessage added in v0.35.0

func (*CreateUserRoleMappingResponse) ProtoMessage()

func (*CreateUserRoleMappingResponse) ProtoReflect added in v0.35.0

func (*CreateUserRoleMappingResponse) Reset added in v0.35.0

func (x *CreateUserRoleMappingResponse) Reset()

func (*CreateUserRoleMappingResponse) String added in v0.35.0

type DeleteApiClientRequest added in v0.15.0

type DeleteApiClientRequest struct {

	// Required. The client id to delete.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.DeleteApiClient rpc.

func (*DeleteApiClientRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use DeleteApiClientRequest.ProtoReflect.Descriptor instead.

func (*DeleteApiClientRequest) GetId added in v0.16.0

func (x *DeleteApiClientRequest) GetId() string

func (*DeleteApiClientRequest) ProtoMessage added in v0.15.0

func (*DeleteApiClientRequest) ProtoMessage()

func (*DeleteApiClientRequest) ProtoReflect added in v0.15.0

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

func (*DeleteApiClientRequest) Reset added in v0.15.0

func (x *DeleteApiClientRequest) Reset()

func (*DeleteApiClientRequest) String added in v0.15.0

func (x *DeleteApiClientRequest) String() string

type DeleteGroupRootUserRequest added in v0.49.0

type DeleteGroupRootUserRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.DeleteGroupRootUser rpc.

func (*DeleteGroupRootUserRequest) Descriptor deprecated added in v0.49.0

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

Deprecated: Use DeleteGroupRootUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupRootUserRequest) GetId added in v0.49.0

func (*DeleteGroupRootUserRequest) ProtoMessage added in v0.49.0

func (*DeleteGroupRootUserRequest) ProtoMessage()

func (*DeleteGroupRootUserRequest) ProtoReflect added in v0.49.0

func (*DeleteGroupRootUserRequest) Reset added in v0.49.0

func (x *DeleteGroupRootUserRequest) Reset()

func (*DeleteGroupRootUserRequest) String added in v0.49.0

func (x *DeleteGroupRootUserRequest) String() string

type DeleteIdentityProviderRequest added in v0.51.0

type DeleteIdentityProviderRequest struct {

	// Required. The IdP id to delete.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.DeleteIdentityProvider rpc.

func (*DeleteIdentityProviderRequest) Descriptor deprecated added in v0.51.0

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

Deprecated: Use DeleteIdentityProviderRequest.ProtoReflect.Descriptor instead.

func (*DeleteIdentityProviderRequest) GetId added in v0.51.0

func (*DeleteIdentityProviderRequest) ProtoMessage added in v0.51.0

func (*DeleteIdentityProviderRequest) ProtoMessage()

func (*DeleteIdentityProviderRequest) ProtoReflect added in v0.51.0

func (*DeleteIdentityProviderRequest) Reset added in v0.51.0

func (x *DeleteIdentityProviderRequest) Reset()

func (*DeleteIdentityProviderRequest) String added in v0.51.0

type DeleteIpFilterRequest added in v0.9.6

type DeleteIpFilterRequest struct {

	// The IP filter id to delete.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.DeleteIpFilter rpc.

func (*DeleteIpFilterRequest) Descriptor deprecated added in v0.9.6

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

Deprecated: Use DeleteIpFilterRequest.ProtoReflect.Descriptor instead.

func (*DeleteIpFilterRequest) GetId added in v0.9.6

func (x *DeleteIpFilterRequest) GetId() string

func (*DeleteIpFilterRequest) ProtoMessage added in v0.9.6

func (*DeleteIpFilterRequest) ProtoMessage()

func (*DeleteIpFilterRequest) ProtoReflect added in v0.9.6

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

func (*DeleteIpFilterRequest) Reset added in v0.9.6

func (x *DeleteIpFilterRequest) Reset()

func (*DeleteIpFilterRequest) String added in v0.9.6

func (x *DeleteIpFilterRequest) String() string

type DeleteRoleRequest added in v0.34.0

type DeleteRoleRequest struct {

	// Required. The parent namespace.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Required. The role name to delete.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.DeleteRole rpc.

func (*DeleteRoleRequest) Descriptor deprecated added in v0.34.0

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

Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetName added in v0.34.0

func (x *DeleteRoleRequest) GetName() string

func (*DeleteRoleRequest) GetNamespace added in v0.34.0

func (x *DeleteRoleRequest) GetNamespace() string

func (*DeleteRoleRequest) ProtoMessage added in v0.34.0

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) ProtoReflect added in v0.34.0

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

func (*DeleteRoleRequest) Reset added in v0.34.0

func (x *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String added in v0.34.0

func (x *DeleteRoleRequest) String() string

type DeleteUserRequest added in v0.11.0

type DeleteUserRequest struct {

	// Required. The subuser name to delete.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.DeleteUser rpc.

func (*DeleteUserRequest) Descriptor deprecated added in v0.11.0

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetId added in v0.12.0

func (x *DeleteUserRequest) GetId() string

func (*DeleteUserRequest) ProtoMessage added in v0.11.0

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect added in v0.11.0

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

func (*DeleteUserRequest) Reset added in v0.11.0

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String added in v0.11.0

func (x *DeleteUserRequest) String() string

type GetFeatureFlagsRequest added in v0.49.0

type GetFeatureFlagsRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.GetUpdateFeatureFlags rpc.

func (*GetFeatureFlagsRequest) Descriptor deprecated added in v0.49.0

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

Deprecated: Use GetFeatureFlagsRequest.ProtoReflect.Descriptor instead.

func (*GetFeatureFlagsRequest) GetId added in v0.49.0

func (x *GetFeatureFlagsRequest) GetId() string

func (*GetFeatureFlagsRequest) ProtoMessage added in v0.49.0

func (*GetFeatureFlagsRequest) ProtoMessage()

func (*GetFeatureFlagsRequest) ProtoReflect added in v0.49.0

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

func (*GetFeatureFlagsRequest) Reset added in v0.49.0

func (x *GetFeatureFlagsRequest) Reset()

func (*GetFeatureFlagsRequest) String added in v0.49.0

func (x *GetFeatureFlagsRequest) String() string

type GetGroupRootRequest added in v0.49.0

type GetGroupRootRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.GetGroupRootUser rpc.

func (*GetGroupRootRequest) Descriptor deprecated added in v0.49.0

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

Deprecated: Use GetGroupRootRequest.ProtoReflect.Descriptor instead.

func (*GetGroupRootRequest) GetId added in v0.49.0

func (x *GetGroupRootRequest) GetId() string

func (*GetGroupRootRequest) ProtoMessage added in v0.49.0

func (*GetGroupRootRequest) ProtoMessage()

func (*GetGroupRootRequest) ProtoReflect added in v0.49.0

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

func (*GetGroupRootRequest) Reset added in v0.49.0

func (x *GetGroupRootRequest) Reset()

func (*GetGroupRootRequest) String added in v0.49.0

func (x *GetGroupRootRequest) String() string

type GetUserRequest added in v0.6.22

type GetUserRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.GetUser rpc.

func (*GetUserRequest) Descriptor deprecated added in v0.6.22

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetId added in v0.12.0

func (x *GetUserRequest) GetId() string

func (*GetUserRequest) ProtoMessage added in v0.6.22

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect added in v0.6.22

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

func (*GetUserRequest) Reset added in v0.6.22

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String added in v0.6.22

func (x *GetUserRequest) String() string

type GrpcClient added in v0.6.7

type GrpcClient struct {
	IamClient
	// contains filtered or unexported fields
}

func NewClient added in v0.6.7

func NewClient(ctx context.Context, opts ...*ClientOptions) (*GrpcClient, error)

NewClient returns a client connection to the 'iam' service.

func (*GrpcClient) Close added in v0.6.7

func (c *GrpcClient) Close()

type IamClient

type IamClient interface {
	// Gets user information about the caller. This call includes all of the user metadata.
	// See [https://alphauslabs.github.io/blueapi/] for the list of supported attributes.
	WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*api.User, error)
	// Lists all subusers.
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (Iam_ListUsersClient, error)
	// Gets subuser information. This call includes all of the subuser metadata. See
	// [https://alphauslabs.github.io/blueapi/] for the list of supported attributes.
	// If the `{name}` parameter is `me` or `-`, returns the caller information, which
	// is equivalent to `WhoAmI()` or `GET:/iam/v*/whoami`.
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*api.User, error)
	// Creates a subuser.
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*api.User, error)
	// Deletes a subuser.
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Creates a new root user for a billing group or access group.
	CreateGroupRootUser(ctx context.Context, in *CreateGroupRootUserRequest, opts ...grpc.CallOption) (*api.GroupRootUser, error)
	// WORK-IN-PROGRESS: Retrieves all the existing group root users asscoiated with the organization.
	ListGroupRootUsers(ctx context.Context, in *ListGroupRootUsersRequest, opts ...grpc.CallOption) (Iam_ListGroupRootUsersClient, error)
	// WORK-IN-PROGRESS: Retrieves a group root user.
	GetGroupRootUser(ctx context.Context, in *GetGroupRootRequest, opts ...grpc.CallOption) (*api.GroupRootUser, error)
	// WORK-IN-PROGRESS: Deletes an existing group root user.
	DeleteGroupRootUser(ctx context.Context, in *DeleteGroupRootUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Retrieves the features available to a user on an Alphaus product.
	//
	// For a list of valid feature flags, see our documentation at https://labs.alphaus.cloud/docs/blueapi/apis/iam/.
	GetFeatureFlags(ctx context.Context, in *GetFeatureFlagsRequest, opts ...grpc.CallOption) (*api.FeatureFlags, error)
	// WORK-IN-PROGRESS: Updates the features available to a user on an Alphaus product.
	//
	// For a list of valid feature flags, see our documentation at https://labs.alphaus.cloud/docs/blueapi/apis/iam/.
	UpdateFeatureFlags(ctx context.Context, in *UpdateFeatureFlagsRequest, opts ...grpc.CallOption) (*api.FeatureFlags, error)
	// Lists all API clients belonging to the caller.
	ListApiClients(ctx context.Context, in *ListApiClientsRequest, opts ...grpc.CallOption) (Iam_ListApiClientsClient, error)
	// Creates an API client for the caller.
	CreateApiClient(ctx context.Context, in *CreateApiClientRequest, opts ...grpc.CallOption) (*api.ApiClient, error)
	// Deletes an API client belonging to the caller.
	DeleteApiClient(ctx context.Context, in *DeleteApiClientRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Lists all permissions based on the input's scope. For reference, supported permissions can be found on [https://github.com/mobingi/rbac-permissions].
	ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error)
	// WORK-IN-PROGRESS: Lists all available roles.
	ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error)
	// WORK-IN-PROGRESS: Creates a role. If your `permissions` list contains an `Admin` entry, all other entries will be discarded except `Admin`. Roles are root user-level. That means all roles created by the root user, or any subuser that has permissions to create roles, are available to all subusers.
	CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*api.Role, error)
	// WORK-IN-PROGRESS: Updates a role. If role name is different, rename mapped role name.
	UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*api.Role, error)
	// WORK-IN-PROGRESS: Deletes a role. Deleting a role will also remove all mappings.
	DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Lists roles attached to the caller or the input.
	ListUserRoleMappings(ctx context.Context, in *ListUserRoleMappingsRequest, opts ...grpc.CallOption) (*ListUserRoleMappingsResponse, error)
	// WORK-IN-PROGRESS: Maps roles to a subuser. You can only map (or attach) up to 5 roles to a user per namespace. There is no limit for filtering rules per user.
	CreateUserRoleMapping(ctx context.Context, in *CreateUserRoleMappingRequest, opts ...grpc.CallOption) (*CreateUserRoleMappingResponse, error)
	// WORK-IN-PROGRESS: Updates user-to-role mappings. You can only map (or attach) up to 5 roles to a user per namespace. There is no limit for filtering rules per user.
	UpdateUserRoleMapping(ctx context.Context, in *UpdateUserRoleMappingRequest, opts ...grpc.CallOption) (*UpdateUserRoleMappingResponse, error)
	// Lists all SSO Identity Providers (IdP).
	ListIdentityProviders(ctx context.Context, in *ListIdentityProvidersRequest, opts ...grpc.CallOption) (*ListIdentityProvidersResponse, error)
	// Registers an SSO Identity Provider (IdP).
	CreateIdentityProvider(ctx context.Context, in *CreateIdentityProviderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deletes an SSO Identity Provider (IdP).
	DeleteIdentityProvider(ctx context.Context, in *DeleteIdentityProviderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists all IP filters. At the moment, this API is only available to root users.
	ListIpFilters(ctx context.Context, in *ListIpFiltersRequest, opts ...grpc.CallOption) (Iam_ListIpFiltersClient, error)
	// Creates an IP filter item for IP blacklisting or whitelisting. At the moment, this API is only available to root users.
	CreateIpFilter(ctx context.Context, in *CreateIpFilterRequest, opts ...grpc.CallOption) (*IpFilter, error)
	// Deletes an IP filter item. At the moment, this API is only available to root users.
	DeleteIpFilter(ctx context.Context, in *DeleteIpFilterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// BETA: Creates a partner token for custom integrations. Available only to Ripple and Cover users.
	CreatePartnerToken(ctx context.Context, in *CreatePartnerTokenRequest, opts ...grpc.CallOption) (*PartnerToken, error)
	// BETA: Refreshes an expired partner token. Only partners are expected to call this API.
	RefreshPartnerToken(ctx context.Context, in *RefreshPartnerTokenRequest, opts ...grpc.CallOption) (*PartnerToken, error)
	// WORK-IN-PROGRESS: Verify User Input For Reset Password
	VerifyUserForResetPassword(ctx context.Context, in *VerifyUserForResetPasswordRequest, opts ...grpc.CallOption) (*VerifyUserForResetPasswordResponse, error)
	// WORK-IN-PROGRESS: Validate reset password link and proceed to update password
	ValidateResetPasswordLinkAndChangePassword(ctx context.Context, in *ValidateResetPasswordLinkAndChangePasswordRequest, opts ...grpc.CallOption) (*ValidateResetPasswordLinkAndChangePasswordResponse, error)
	// WORK-IN-PROGRESS: List MFA users info for login user's organization based on status.
	GetMFAUsers(ctx context.Context, in *MFAUsersInfoRequest, opts ...grpc.CallOption) (*MFAUsersInfoResponse, error)
}

IamClient is the client API for Iam 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 NewIamClient

func NewIamClient(cc grpc.ClientConnInterface) IamClient

type IamServer

type IamServer interface {
	// Gets user information about the caller. This call includes all of the user metadata.
	// See [https://alphauslabs.github.io/blueapi/] for the list of supported attributes.
	WhoAmI(context.Context, *WhoAmIRequest) (*api.User, error)
	// Lists all subusers.
	ListUsers(*ListUsersRequest, Iam_ListUsersServer) error
	// Gets subuser information. This call includes all of the subuser metadata. See
	// [https://alphauslabs.github.io/blueapi/] for the list of supported attributes.
	// If the `{name}` parameter is `me` or `-`, returns the caller information, which
	// is equivalent to `WhoAmI()` or `GET:/iam/v*/whoami`.
	GetUser(context.Context, *GetUserRequest) (*api.User, error)
	// Creates a subuser.
	CreateUser(context.Context, *CreateUserRequest) (*api.User, error)
	// Deletes a subuser.
	DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Creates a new root user for a billing group or access group.
	CreateGroupRootUser(context.Context, *CreateGroupRootUserRequest) (*api.GroupRootUser, error)
	// WORK-IN-PROGRESS: Retrieves all the existing group root users asscoiated with the organization.
	ListGroupRootUsers(*ListGroupRootUsersRequest, Iam_ListGroupRootUsersServer) error
	// WORK-IN-PROGRESS: Retrieves a group root user.
	GetGroupRootUser(context.Context, *GetGroupRootRequest) (*api.GroupRootUser, error)
	// WORK-IN-PROGRESS: Deletes an existing group root user.
	DeleteGroupRootUser(context.Context, *DeleteGroupRootUserRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Retrieves the features available to a user on an Alphaus product.
	//
	// For a list of valid feature flags, see our documentation at https://labs.alphaus.cloud/docs/blueapi/apis/iam/.
	GetFeatureFlags(context.Context, *GetFeatureFlagsRequest) (*api.FeatureFlags, error)
	// WORK-IN-PROGRESS: Updates the features available to a user on an Alphaus product.
	//
	// For a list of valid feature flags, see our documentation at https://labs.alphaus.cloud/docs/blueapi/apis/iam/.
	UpdateFeatureFlags(context.Context, *UpdateFeatureFlagsRequest) (*api.FeatureFlags, error)
	// Lists all API clients belonging to the caller.
	ListApiClients(*ListApiClientsRequest, Iam_ListApiClientsServer) error
	// Creates an API client for the caller.
	CreateApiClient(context.Context, *CreateApiClientRequest) (*api.ApiClient, error)
	// Deletes an API client belonging to the caller.
	DeleteApiClient(context.Context, *DeleteApiClientRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Lists all permissions based on the input's scope. For reference, supported permissions can be found on [https://github.com/mobingi/rbac-permissions].
	ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error)
	// WORK-IN-PROGRESS: Lists all available roles.
	ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
	// WORK-IN-PROGRESS: Creates a role. If your `permissions` list contains an `Admin` entry, all other entries will be discarded except `Admin`. Roles are root user-level. That means all roles created by the root user, or any subuser that has permissions to create roles, are available to all subusers.
	CreateRole(context.Context, *CreateRoleRequest) (*api.Role, error)
	// WORK-IN-PROGRESS: Updates a role. If role name is different, rename mapped role name.
	UpdateRole(context.Context, *UpdateRoleRequest) (*api.Role, error)
	// WORK-IN-PROGRESS: Deletes a role. Deleting a role will also remove all mappings.
	DeleteRole(context.Context, *DeleteRoleRequest) (*emptypb.Empty, error)
	// WORK-IN-PROGRESS: Lists roles attached to the caller or the input.
	ListUserRoleMappings(context.Context, *ListUserRoleMappingsRequest) (*ListUserRoleMappingsResponse, error)
	// WORK-IN-PROGRESS: Maps roles to a subuser. You can only map (or attach) up to 5 roles to a user per namespace. There is no limit for filtering rules per user.
	CreateUserRoleMapping(context.Context, *CreateUserRoleMappingRequest) (*CreateUserRoleMappingResponse, error)
	// WORK-IN-PROGRESS: Updates user-to-role mappings. You can only map (or attach) up to 5 roles to a user per namespace. There is no limit for filtering rules per user.
	UpdateUserRoleMapping(context.Context, *UpdateUserRoleMappingRequest) (*UpdateUserRoleMappingResponse, error)
	// Lists all SSO Identity Providers (IdP).
	ListIdentityProviders(context.Context, *ListIdentityProvidersRequest) (*ListIdentityProvidersResponse, error)
	// Registers an SSO Identity Provider (IdP).
	CreateIdentityProvider(context.Context, *CreateIdentityProviderRequest) (*emptypb.Empty, error)
	// Deletes an SSO Identity Provider (IdP).
	DeleteIdentityProvider(context.Context, *DeleteIdentityProviderRequest) (*emptypb.Empty, error)
	// Lists all IP filters. At the moment, this API is only available to root users.
	ListIpFilters(*ListIpFiltersRequest, Iam_ListIpFiltersServer) error
	// Creates an IP filter item for IP blacklisting or whitelisting. At the moment, this API is only available to root users.
	CreateIpFilter(context.Context, *CreateIpFilterRequest) (*IpFilter, error)
	// Deletes an IP filter item. At the moment, this API is only available to root users.
	DeleteIpFilter(context.Context, *DeleteIpFilterRequest) (*emptypb.Empty, error)
	// BETA: Creates a partner token for custom integrations. Available only to Ripple and Cover users.
	CreatePartnerToken(context.Context, *CreatePartnerTokenRequest) (*PartnerToken, error)
	// BETA: Refreshes an expired partner token. Only partners are expected to call this API.
	RefreshPartnerToken(context.Context, *RefreshPartnerTokenRequest) (*PartnerToken, error)
	// WORK-IN-PROGRESS: Verify User Input For Reset Password
	VerifyUserForResetPassword(context.Context, *VerifyUserForResetPasswordRequest) (*VerifyUserForResetPasswordResponse, error)
	// WORK-IN-PROGRESS: Validate reset password link and proceed to update password
	ValidateResetPasswordLinkAndChangePassword(context.Context, *ValidateResetPasswordLinkAndChangePasswordRequest) (*ValidateResetPasswordLinkAndChangePasswordResponse, error)
	// WORK-IN-PROGRESS: List MFA users info for login user's organization based on status.
	GetMFAUsers(context.Context, *MFAUsersInfoRequest) (*MFAUsersInfoResponse, error)
	// contains filtered or unexported methods
}

IamServer is the server API for Iam service. All implementations must embed UnimplementedIamServer for forward compatibility

type Iam_ListApiClientsClient added in v0.25.0

type Iam_ListApiClientsClient interface {
	Recv() (*api.ApiClient, error)
	grpc.ClientStream
}

type Iam_ListApiClientsServer added in v0.25.0

type Iam_ListApiClientsServer interface {
	Send(*api.ApiClient) error
	grpc.ServerStream
}

type Iam_ListGroupRootUsersClient added in v0.49.0

type Iam_ListGroupRootUsersClient interface {
	Recv() (*api.GroupRootUser, error)
	grpc.ClientStream
}

type Iam_ListGroupRootUsersServer added in v0.49.0

type Iam_ListGroupRootUsersServer interface {
	Send(*api.GroupRootUser) error
	grpc.ServerStream
}

type Iam_ListIpFiltersClient added in v0.25.0

type Iam_ListIpFiltersClient interface {
	Recv() (*IpFilter, error)
	grpc.ClientStream
}

type Iam_ListIpFiltersServer added in v0.25.0

type Iam_ListIpFiltersServer interface {
	Send(*IpFilter) error
	grpc.ServerStream
}

type Iam_ListUsersClient added in v0.25.0

type Iam_ListUsersClient interface {
	Recv() (*api.User, error)
	grpc.ClientStream
}

type Iam_ListUsersServer added in v0.25.0

type Iam_ListUsersServer interface {
	Send(*api.User) error
	grpc.ServerStream
}

type IpFilter added in v0.9.6

type IpFilter struct {

	// IP filter item id. Note that this name is transcient and is not fixed. However, you can use any of its permutations to endpoints that accept it, such as the `DELETE:/iam/v?/ipfilters/{id}` endpoint, without issues.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Can be `global`, `rootuser`, or `subuser`.
	Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
	// The target of the filter. If global scope, this is usually empty. Rootuser name for rootuser scope, and subuser name for subuser scope. For subuser targets, format is `rootuser/subuser`.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// The type of IP filter. It could be `whitelist` or `blacklist`.
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// The IP filter value. Should be in CIDR format.
	Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*IpFilter) Descriptor deprecated added in v0.9.6

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

Deprecated: Use IpFilter.ProtoReflect.Descriptor instead.

func (*IpFilter) GetId added in v0.9.6

func (x *IpFilter) GetId() string

func (*IpFilter) GetScope added in v0.9.6

func (x *IpFilter) GetScope() string

func (*IpFilter) GetTarget added in v0.9.6

func (x *IpFilter) GetTarget() string

func (*IpFilter) GetType added in v0.9.6

func (x *IpFilter) GetType() string

func (*IpFilter) GetValue added in v0.9.6

func (x *IpFilter) GetValue() string

func (*IpFilter) ProtoMessage added in v0.9.6

func (*IpFilter) ProtoMessage()

func (*IpFilter) ProtoReflect added in v0.9.6

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

func (*IpFilter) Reset added in v0.9.6

func (x *IpFilter) Reset()

func (*IpFilter) String added in v0.9.6

func (x *IpFilter) String() string

type ListApiClientsRequest added in v0.15.0

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

Request message for the Iam.ListApiClients rpc.

func (*ListApiClientsRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use ListApiClientsRequest.ProtoReflect.Descriptor instead.

func (*ListApiClientsRequest) ProtoMessage added in v0.15.0

func (*ListApiClientsRequest) ProtoMessage()

func (*ListApiClientsRequest) ProtoReflect added in v0.15.0

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

func (*ListApiClientsRequest) Reset added in v0.15.0

func (x *ListApiClientsRequest) Reset()

func (*ListApiClientsRequest) String added in v0.15.0

func (x *ListApiClientsRequest) String() string

type ListGroupRootUsersRequest added in v0.49.0

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

Request message for the Iam.ListGroupRootUsers rpc.

func (*ListGroupRootUsersRequest) Descriptor deprecated added in v0.49.0

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

Deprecated: Use ListGroupRootUsersRequest.ProtoReflect.Descriptor instead.

func (*ListGroupRootUsersRequest) ProtoMessage added in v0.49.0

func (*ListGroupRootUsersRequest) ProtoMessage()

func (*ListGroupRootUsersRequest) ProtoReflect added in v0.49.0

func (*ListGroupRootUsersRequest) Reset added in v0.49.0

func (x *ListGroupRootUsersRequest) Reset()

func (*ListGroupRootUsersRequest) String added in v0.49.0

func (x *ListGroupRootUsersRequest) String() string

type ListIdentityProvidersRequest added in v0.50.0

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

Request message for the Iam.ListIdentityProviders rpc.

func (*ListIdentityProvidersRequest) Descriptor deprecated added in v0.50.0

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

Deprecated: Use ListIdentityProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListIdentityProvidersRequest) ProtoMessage added in v0.50.0

func (*ListIdentityProvidersRequest) ProtoMessage()

func (*ListIdentityProvidersRequest) ProtoReflect added in v0.50.0

func (*ListIdentityProvidersRequest) Reset added in v0.50.0

func (x *ListIdentityProvidersRequest) Reset()

func (*ListIdentityProvidersRequest) String added in v0.50.0

type ListIdentityProvidersResponse added in v0.50.0

type ListIdentityProvidersResponse struct {
	Data []*ListIdentityProvidersResponse_IdentityProvider `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Iam.ListIdentityProviders rpc.

func (*ListIdentityProvidersResponse) Descriptor deprecated added in v0.50.0

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

Deprecated: Use ListIdentityProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListIdentityProvidersResponse) GetData added in v0.50.2

func (*ListIdentityProvidersResponse) ProtoMessage added in v0.50.0

func (*ListIdentityProvidersResponse) ProtoMessage()

func (*ListIdentityProvidersResponse) ProtoReflect added in v0.50.0

func (*ListIdentityProvidersResponse) Reset added in v0.50.0

func (x *ListIdentityProvidersResponse) Reset()

func (*ListIdentityProvidersResponse) String added in v0.50.0

type ListIdentityProvidersResponse_IdentityProvider added in v0.50.1

type ListIdentityProvidersResponse_IdentityProvider struct {
	Id   string                                                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string                                                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type string                                                  `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Saml *ListIdentityProvidersResponse_IdentityProviderSamlInfo `protobuf:"bytes,4,opt,name=saml,proto3" json:"saml,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIdentityProvidersResponse_IdentityProvider) Descriptor deprecated added in v0.50.1

Deprecated: Use ListIdentityProvidersResponse_IdentityProvider.ProtoReflect.Descriptor instead.

func (*ListIdentityProvidersResponse_IdentityProvider) GetId added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProvider) GetName added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProvider) GetSaml added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProvider) GetType added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProvider) ProtoMessage added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProvider) ProtoReflect added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProvider) Reset added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProvider) String added in v0.50.1

type ListIdentityProvidersResponse_IdentityProviderSamlInfo added in v0.50.1

type ListIdentityProvidersResponse_IdentityProviderSamlInfo struct {
	Metadata string `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ListIdentityProvidersResponse_IdentityProviderSamlInfo) Descriptor deprecated added in v0.50.1

Deprecated: Use ListIdentityProvidersResponse_IdentityProviderSamlInfo.ProtoReflect.Descriptor instead.

func (*ListIdentityProvidersResponse_IdentityProviderSamlInfo) GetMetadata added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProviderSamlInfo) ProtoMessage added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProviderSamlInfo) ProtoReflect added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProviderSamlInfo) Reset added in v0.50.1

func (*ListIdentityProvidersResponse_IdentityProviderSamlInfo) String added in v0.50.1

type ListIpFiltersRequest added in v0.9.6

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

Request message for the Iam.ListIpFilters rpc.

func (*ListIpFiltersRequest) Descriptor deprecated added in v0.9.6

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

Deprecated: Use ListIpFiltersRequest.ProtoReflect.Descriptor instead.

func (*ListIpFiltersRequest) ProtoMessage added in v0.9.6

func (*ListIpFiltersRequest) ProtoMessage()

func (*ListIpFiltersRequest) ProtoReflect added in v0.9.6

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

func (*ListIpFiltersRequest) Reset added in v0.9.6

func (x *ListIpFiltersRequest) Reset()

func (*ListIpFiltersRequest) String added in v0.9.6

func (x *ListIpFiltersRequest) String() string

type ListPermissionsRequest added in v0.33.2

type ListPermissionsRequest struct {

	// Optional. The subuser to query. If empty (default), query all available permissions. If set to a valid subuser, query that subuser's permissions, if allowed. You can also set this field to `me` to query your own permissions.
	SubUser string `protobuf:"bytes,1,opt,name=subUser,proto3" json:"subUser,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.ListPermissions rpc.

func (*ListPermissionsRequest) Descriptor deprecated added in v0.33.2

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

Deprecated: Use ListPermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListPermissionsRequest) GetSubUser added in v0.33.3

func (x *ListPermissionsRequest) GetSubUser() string

func (*ListPermissionsRequest) ProtoMessage added in v0.33.2

func (*ListPermissionsRequest) ProtoMessage()

func (*ListPermissionsRequest) ProtoReflect added in v0.33.2

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

func (*ListPermissionsRequest) Reset added in v0.33.2

func (x *ListPermissionsRequest) Reset()

func (*ListPermissionsRequest) String added in v0.33.2

func (x *ListPermissionsRequest) String() string

type ListPermissionsResponse added in v0.33.2

type ListPermissionsResponse struct {
	Permissions []*api.Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Iam.ListPermissions rpc.

func (*ListPermissionsResponse) Descriptor deprecated added in v0.33.2

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

Deprecated: Use ListPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListPermissionsResponse) GetPermissions added in v0.33.2

func (x *ListPermissionsResponse) GetPermissions() []*api.Permission

func (*ListPermissionsResponse) ProtoMessage added in v0.33.2

func (*ListPermissionsResponse) ProtoMessage()

func (*ListPermissionsResponse) ProtoReflect added in v0.33.2

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

func (*ListPermissionsResponse) Reset added in v0.33.2

func (x *ListPermissionsResponse) Reset()

func (*ListPermissionsResponse) String added in v0.33.2

func (x *ListPermissionsResponse) String() string

type ListRolesRequest added in v0.34.0

type ListRolesRequest struct {

	// Optional. If not set, all roles will be returned.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.ListRoles rpc.

func (*ListRolesRequest) Descriptor deprecated added in v0.34.0

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

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetNamespace added in v0.34.0

func (x *ListRolesRequest) GetNamespace() string

func (*ListRolesRequest) ProtoMessage added in v0.34.0

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect added in v0.34.0

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

func (*ListRolesRequest) Reset added in v0.34.0

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) String added in v0.34.0

func (x *ListRolesRequest) String() string

type ListRolesResponse added in v0.34.0

type ListRolesResponse struct {
	Roles []*api.Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Iam.ListRoles rpc.

func (*ListRolesResponse) Descriptor deprecated added in v0.34.0

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

Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetRoles added in v0.34.0

func (x *ListRolesResponse) GetRoles() []*api.Role

func (*ListRolesResponse) ProtoMessage added in v0.34.0

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect added in v0.34.0

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

func (*ListRolesResponse) Reset added in v0.34.0

func (x *ListRolesResponse) Reset()

func (*ListRolesResponse) String added in v0.34.0

func (x *ListRolesResponse) String() string

type ListUserRoleMappingsRequest added in v0.35.0

type ListUserRoleMappingsRequest struct {

	// Optional. The subuser to query. Defaults to caller if not set.
	SubUser string `protobuf:"bytes,1,opt,name=subUser,proto3" json:"subUser,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.ListUserRoleMappings rpc.

func (*ListUserRoleMappingsRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use ListUserRoleMappingsRequest.ProtoReflect.Descriptor instead.

func (*ListUserRoleMappingsRequest) GetSubUser added in v0.35.0

func (x *ListUserRoleMappingsRequest) GetSubUser() string

func (*ListUserRoleMappingsRequest) ProtoMessage added in v0.35.0

func (*ListUserRoleMappingsRequest) ProtoMessage()

func (*ListUserRoleMappingsRequest) ProtoReflect added in v0.35.0

func (*ListUserRoleMappingsRequest) Reset added in v0.35.0

func (x *ListUserRoleMappingsRequest) Reset()

func (*ListUserRoleMappingsRequest) String added in v0.35.0

func (x *ListUserRoleMappingsRequest) String() string

type ListUserRoleMappingsResponse added in v0.35.0

type ListUserRoleMappingsResponse struct {
	UserRoleMappings []*api.UserRoleMapping `protobuf:"bytes,1,rep,name=userRoleMappings,proto3" json:"userRoleMappings,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Iam.ListUserRoleMappings rpc.

func (*ListUserRoleMappingsResponse) Descriptor deprecated added in v0.35.0

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

Deprecated: Use ListUserRoleMappingsResponse.ProtoReflect.Descriptor instead.

func (*ListUserRoleMappingsResponse) GetUserRoleMappings added in v0.35.0

func (x *ListUserRoleMappingsResponse) GetUserRoleMappings() []*api.UserRoleMapping

func (*ListUserRoleMappingsResponse) ProtoMessage added in v0.35.0

func (*ListUserRoleMappingsResponse) ProtoMessage()

func (*ListUserRoleMappingsResponse) ProtoReflect added in v0.35.0

func (*ListUserRoleMappingsResponse) Reset added in v0.35.0

func (x *ListUserRoleMappingsResponse) Reset()

func (*ListUserRoleMappingsResponse) String added in v0.35.0

type ListUsersRequest added in v0.6.22

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

Request message for the Iam.ListUsers rpc.

func (*ListUsersRequest) Descriptor deprecated added in v0.6.22

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) ProtoMessage added in v0.6.22

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect added in v0.6.22

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

func (*ListUsersRequest) Reset added in v0.6.22

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String added in v0.6.22

func (x *ListUsersRequest) String() string

type MFAUser added in v0.69.42

type MFAUser struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type      string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Status    string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	CreatedAt string `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// contains filtered or unexported fields
}

func (*MFAUser) Descriptor deprecated added in v0.69.42

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

Deprecated: Use MFAUser.ProtoReflect.Descriptor instead.

func (*MFAUser) GetCreatedAt added in v0.69.42

func (x *MFAUser) GetCreatedAt() string

func (*MFAUser) GetId added in v0.69.42

func (x *MFAUser) GetId() string

func (*MFAUser) GetName added in v0.69.42

func (x *MFAUser) GetName() string

func (*MFAUser) GetStatus added in v0.69.42

func (x *MFAUser) GetStatus() string

func (*MFAUser) GetType added in v0.69.42

func (x *MFAUser) GetType() string

func (*MFAUser) ProtoMessage added in v0.69.42

func (*MFAUser) ProtoMessage()

func (*MFAUser) ProtoReflect added in v0.69.42

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

func (*MFAUser) Reset added in v0.69.42

func (x *MFAUser) Reset()

func (*MFAUser) String added in v0.69.42

func (x *MFAUser) String() string

type MFAUsersInfoRequest added in v0.69.42

type MFAUsersInfoRequest struct {

	// Optional. If non empty: list users by status. Otherwise will list all MFA users.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.MFAUsersInfoRequest rpc.

func (*MFAUsersInfoRequest) Descriptor deprecated added in v0.69.42

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

Deprecated: Use MFAUsersInfoRequest.ProtoReflect.Descriptor instead.

func (*MFAUsersInfoRequest) GetStatus added in v0.69.42

func (x *MFAUsersInfoRequest) GetStatus() string

func (*MFAUsersInfoRequest) ProtoMessage added in v0.69.42

func (*MFAUsersInfoRequest) ProtoMessage()

func (*MFAUsersInfoRequest) ProtoReflect added in v0.69.42

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

func (*MFAUsersInfoRequest) Reset added in v0.69.42

func (x *MFAUsersInfoRequest) Reset()

func (*MFAUsersInfoRequest) String added in v0.69.42

func (x *MFAUsersInfoRequest) String() string

type MFAUsersInfoResponse added in v0.69.42

type MFAUsersInfoResponse struct {
	Users []*MFAUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

Response message for the MFAUsersInfoResponse rpc.

func (*MFAUsersInfoResponse) Descriptor deprecated added in v0.69.42

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

Deprecated: Use MFAUsersInfoResponse.ProtoReflect.Descriptor instead.

func (*MFAUsersInfoResponse) GetUsers added in v0.69.42

func (x *MFAUsersInfoResponse) GetUsers() []*MFAUser

func (*MFAUsersInfoResponse) ProtoMessage added in v0.69.42

func (*MFAUsersInfoResponse) ProtoMessage()

func (*MFAUsersInfoResponse) ProtoReflect added in v0.69.42

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

func (*MFAUsersInfoResponse) Reset added in v0.69.42

func (x *MFAUsersInfoResponse) Reset()

func (*MFAUsersInfoResponse) String added in v0.69.42

func (x *MFAUsersInfoResponse) String() string

type MapRole added in v0.35.0

type MapRole struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Role      string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*MapRole) Descriptor deprecated added in v0.35.0

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

Deprecated: Use MapRole.ProtoReflect.Descriptor instead.

func (*MapRole) GetNamespace added in v0.35.0

func (x *MapRole) GetNamespace() string

func (*MapRole) GetRole added in v0.35.0

func (x *MapRole) GetRole() string

func (*MapRole) ProtoMessage added in v0.35.0

func (*MapRole) ProtoMessage()

func (*MapRole) ProtoReflect added in v0.35.0

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

func (*MapRole) Reset added in v0.35.0

func (x *MapRole) Reset()

func (*MapRole) String added in v0.35.0

func (x *MapRole) String() string

type PartnerToken added in v0.65.54

type PartnerToken struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*PartnerToken) Descriptor deprecated added in v0.65.54

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

Deprecated: Use PartnerToken.ProtoReflect.Descriptor instead.

func (*PartnerToken) GetToken added in v0.65.54

func (x *PartnerToken) GetToken() string

func (*PartnerToken) ProtoMessage added in v0.65.54

func (*PartnerToken) ProtoMessage()

func (*PartnerToken) ProtoReflect added in v0.65.54

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

func (*PartnerToken) Reset added in v0.65.54

func (x *PartnerToken) Reset()

func (*PartnerToken) String added in v0.65.54

func (x *PartnerToken) String() string

type RefreshPartnerTokenRequest added in v0.65.57

type RefreshPartnerTokenRequest struct {

	// Required. Partner id or audience for the token.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. The previous (old) token to be refreshed.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.RefreshPartnerToken rpc.

func (*RefreshPartnerTokenRequest) Descriptor deprecated added in v0.65.57

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

Deprecated: Use RefreshPartnerTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshPartnerTokenRequest) GetId added in v0.65.57

func (*RefreshPartnerTokenRequest) GetToken added in v0.65.57

func (x *RefreshPartnerTokenRequest) GetToken() string

func (*RefreshPartnerTokenRequest) ProtoMessage added in v0.65.57

func (*RefreshPartnerTokenRequest) ProtoMessage()

func (*RefreshPartnerTokenRequest) ProtoReflect added in v0.65.57

func (*RefreshPartnerTokenRequest) Reset added in v0.65.57

func (x *RefreshPartnerTokenRequest) Reset()

func (*RefreshPartnerTokenRequest) String added in v0.65.57

func (x *RefreshPartnerTokenRequest) String() string

type UnimplementedIamServer

type UnimplementedIamServer struct {
}

UnimplementedIamServer must be embedded to have forward compatible implementations.

func (UnimplementedIamServer) CreateApiClient added in v0.15.0

func (UnimplementedIamServer) CreateGroupRootUser added in v0.49.0

func (UnimplementedIamServer) CreateIdentityProvider added in v0.51.0

func (UnimplementedIamServer) CreateIpFilter added in v0.9.7

func (UnimplementedIamServer) CreatePartnerToken added in v0.65.54

func (UnimplementedIamServer) CreateRole added in v0.34.0

func (UnimplementedIamServer) CreateUser added in v0.11.0

func (UnimplementedIamServer) CreateUserRoleMapping added in v0.35.0

func (UnimplementedIamServer) DeleteApiClient added in v0.15.0

func (UnimplementedIamServer) DeleteGroupRootUser added in v0.49.0

func (UnimplementedIamServer) DeleteIdentityProvider added in v0.51.0

func (UnimplementedIamServer) DeleteIpFilter added in v0.9.6

func (UnimplementedIamServer) DeleteRole added in v0.34.0

func (UnimplementedIamServer) DeleteUser added in v0.11.0

func (UnimplementedIamServer) GetFeatureFlags added in v0.49.0

func (UnimplementedIamServer) GetGroupRootUser added in v0.49.0

func (UnimplementedIamServer) GetMFAUsers added in v0.69.42

func (UnimplementedIamServer) GetUser added in v0.6.22

func (UnimplementedIamServer) ListApiClients added in v0.15.0

func (UnimplementedIamServer) ListGroupRootUsers added in v0.49.0

func (UnimplementedIamServer) ListIdentityProviders added in v0.50.0

func (UnimplementedIamServer) ListIpFilters added in v0.9.6

func (UnimplementedIamServer) ListPermissions added in v0.33.2

func (UnimplementedIamServer) ListRoles added in v0.34.0

func (UnimplementedIamServer) ListUserRoleMappings added in v0.35.0

func (UnimplementedIamServer) ListUsers added in v0.6.22

func (UnimplementedIamServer) RefreshPartnerToken added in v0.65.57

func (UnimplementedIamServer) UpdateFeatureFlags added in v0.49.0

func (UnimplementedIamServer) UpdateRole added in v0.34.0

func (UnimplementedIamServer) UpdateUserRoleMapping added in v0.35.0

func (UnimplementedIamServer) VerifyUserForResetPassword added in v0.65.96

func (UnimplementedIamServer) WhoAmI

type UnsafeIamServer

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

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

type UpdateFeatureFlagsRequest added in v0.49.0

type UpdateFeatureFlagsRequest struct {
	Id           string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FeatureFlags *api.FeatureFlags `protobuf:"bytes,2,opt,name=featureFlags,proto3" json:"featureFlags,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.UpdateFeatureFlags rpc.

func (*UpdateFeatureFlagsRequest) Descriptor deprecated added in v0.49.0

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

Deprecated: Use UpdateFeatureFlagsRequest.ProtoReflect.Descriptor instead.

func (*UpdateFeatureFlagsRequest) GetFeatureFlags added in v0.49.0

func (x *UpdateFeatureFlagsRequest) GetFeatureFlags() *api.FeatureFlags

func (*UpdateFeatureFlagsRequest) GetId added in v0.49.0

func (x *UpdateFeatureFlagsRequest) GetId() string

func (*UpdateFeatureFlagsRequest) ProtoMessage added in v0.49.0

func (*UpdateFeatureFlagsRequest) ProtoMessage()

func (*UpdateFeatureFlagsRequest) ProtoReflect added in v0.49.0

func (*UpdateFeatureFlagsRequest) Reset added in v0.49.0

func (x *UpdateFeatureFlagsRequest) Reset()

func (*UpdateFeatureFlagsRequest) String added in v0.49.0

func (x *UpdateFeatureFlagsRequest) String() string

type UpdateRoleRequest added in v0.34.0

type UpdateRoleRequest struct {

	// Required. The new namespace.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// Required. The role name to update.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If set, update the current name to this.
	NewName string `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName,omitempty"`
	// Required. The list of permissions to attach to this role.
	Permissions []string `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.UpdateRole rpc.

func (*UpdateRoleRequest) Descriptor deprecated added in v0.34.0

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

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetName added in v0.34.0

func (x *UpdateRoleRequest) GetName() string

func (*UpdateRoleRequest) GetNamespace added in v0.34.0

func (x *UpdateRoleRequest) GetNamespace() string

func (*UpdateRoleRequest) GetNewName added in v0.34.5

func (x *UpdateRoleRequest) GetNewName() string

func (*UpdateRoleRequest) GetPermissions added in v0.34.0

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

func (*UpdateRoleRequest) ProtoMessage added in v0.34.0

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect added in v0.34.0

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

func (*UpdateRoleRequest) Reset added in v0.34.0

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String added in v0.34.0

func (x *UpdateRoleRequest) String() string

type UpdateUserRoleMappingRequest added in v0.35.0

type UpdateUserRoleMappingRequest struct {

	// Optional. The subuser to map the roles. Defaults to caller if not set.
	SubUser string `protobuf:"bytes,1,opt,name=subUser,proto3" json:"subUser,omitempty"`
	// Required. The roles to map to the user. Limited to 5 items. Setting `role` to empty will remove the mapping.
	Roles []*MapRole `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

Request message for the Iam.UpdateUserRoleMapping rpc.

func (*UpdateUserRoleMappingRequest) Descriptor deprecated added in v0.35.0

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

Deprecated: Use UpdateUserRoleMappingRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleMappingRequest) GetRoles added in v0.35.0

func (x *UpdateUserRoleMappingRequest) GetRoles() []*MapRole

func (*UpdateUserRoleMappingRequest) GetSubUser added in v0.35.0

func (x *UpdateUserRoleMappingRequest) GetSubUser() string

func (*UpdateUserRoleMappingRequest) ProtoMessage added in v0.35.0

func (*UpdateUserRoleMappingRequest) ProtoMessage()

func (*UpdateUserRoleMappingRequest) ProtoReflect added in v0.35.0

func (*UpdateUserRoleMappingRequest) Reset added in v0.35.0

func (x *UpdateUserRoleMappingRequest) Reset()

func (*UpdateUserRoleMappingRequest) String added in v0.35.0

type UpdateUserRoleMappingResponse added in v0.35.0

type UpdateUserRoleMappingResponse struct {
	Success []string `protobuf:"bytes,1,rep,name=success,proto3" json:"success,omitempty"`
	Failed  []string `protobuf:"bytes,2,rep,name=failed,proto3" json:"failed,omitempty"`
	Filters []string `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

Response message for the Iam.UpdateUserRoleMapping rpc.

func (*UpdateUserRoleMappingResponse) Descriptor deprecated added in v0.35.0

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

Deprecated: Use UpdateUserRoleMappingResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleMappingResponse) GetFailed added in v0.35.0

func (x *UpdateUserRoleMappingResponse) GetFailed() []string

func (*UpdateUserRoleMappingResponse) GetFilters added in v0.35.0

func (x *UpdateUserRoleMappingResponse) GetFilters() []string

func (*UpdateUserRoleMappingResponse) GetSuccess added in v0.35.0

func (x *UpdateUserRoleMappingResponse) GetSuccess() []string

func (*UpdateUserRoleMappingResponse) ProtoMessage added in v0.35.0

func (*UpdateUserRoleMappingResponse) ProtoMessage()

func (*UpdateUserRoleMappingResponse) ProtoReflect added in v0.35.0

func (*UpdateUserRoleMappingResponse) Reset added in v0.35.0

func (x *UpdateUserRoleMappingResponse) Reset()

func (*UpdateUserRoleMappingResponse) String added in v0.35.0

type ValidateResetPasswordLinkAndChangePasswordRequest added in v0.65.96

type ValidateResetPasswordLinkAndChangePasswordRequest struct {
	OriginalEncodedCode  string `protobuf:"bytes,1,opt,name=originalEncodedCode,proto3" json:"originalEncodedCode,omitempty"`
	UserInputEncodedCode string `protobuf:"bytes,2,opt,name=userInputEncodedCode,proto3" json:"userInputEncodedCode,omitempty"`
	// contains filtered or unexported fields
}

Request for message Iam.ValidateVerificationCode rpc.

func (*ValidateResetPasswordLinkAndChangePasswordRequest) Descriptor deprecated added in v0.65.96

Deprecated: Use ValidateResetPasswordLinkAndChangePasswordRequest.ProtoReflect.Descriptor instead.

func (*ValidateResetPasswordLinkAndChangePasswordRequest) GetOriginalEncodedCode added in v0.65.96

func (x *ValidateResetPasswordLinkAndChangePasswordRequest) GetOriginalEncodedCode() string

func (*ValidateResetPasswordLinkAndChangePasswordRequest) GetUserInputEncodedCode added in v0.65.96

func (x *ValidateResetPasswordLinkAndChangePasswordRequest) GetUserInputEncodedCode() string

func (*ValidateResetPasswordLinkAndChangePasswordRequest) ProtoMessage added in v0.65.96

func (*ValidateResetPasswordLinkAndChangePasswordRequest) ProtoReflect added in v0.65.96

func (*ValidateResetPasswordLinkAndChangePasswordRequest) Reset added in v0.65.96

func (*ValidateResetPasswordLinkAndChangePasswordRequest) String added in v0.65.96

type ValidateResetPasswordLinkAndChangePasswordResponse added in v0.65.96

type ValidateResetPasswordLinkAndChangePasswordResponse struct {
	IsPasswordUpdated        bool   `protobuf:"varint,1,opt,name=isPasswordUpdated,proto3" json:"isPasswordUpdated,omitempty"`
	IsResetPasswordLinkValid bool   `protobuf:"varint,2,opt,name=isResetPasswordLinkValid,proto3" json:"isResetPasswordLinkValid,omitempty"`
	ErrorMessage             string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	// contains filtered or unexported fields
}

Response for message Iam.ValidateVerificationCode rpc.

func (*ValidateResetPasswordLinkAndChangePasswordResponse) Descriptor deprecated added in v0.65.96

Deprecated: Use ValidateResetPasswordLinkAndChangePasswordResponse.ProtoReflect.Descriptor instead.

func (*ValidateResetPasswordLinkAndChangePasswordResponse) GetErrorMessage added in v0.65.96

func (*ValidateResetPasswordLinkAndChangePasswordResponse) GetIsPasswordUpdated added in v0.65.96

func (x *ValidateResetPasswordLinkAndChangePasswordResponse) GetIsPasswordUpdated() bool

func (*ValidateResetPasswordLinkAndChangePasswordResponse) GetIsResetPasswordLinkValid added in v0.65.96

func (x *ValidateResetPasswordLinkAndChangePasswordResponse) GetIsResetPasswordLinkValid() bool

func (*ValidateResetPasswordLinkAndChangePasswordResponse) ProtoMessage added in v0.65.96

func (*ValidateResetPasswordLinkAndChangePasswordResponse) ProtoReflect added in v0.65.96

func (*ValidateResetPasswordLinkAndChangePasswordResponse) Reset added in v0.65.96

func (*ValidateResetPasswordLinkAndChangePasswordResponse) String added in v0.65.96

type VerifyUserForResetPasswordRequest added in v0.65.96

type VerifyUserForResetPasswordRequest struct {
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

Request message for Iam.VerifyUserForResetPassword rpc.

func (*VerifyUserForResetPasswordRequest) Descriptor deprecated added in v0.65.96

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

Deprecated: Use VerifyUserForResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*VerifyUserForResetPasswordRequest) GetUser added in v0.65.96

func (*VerifyUserForResetPasswordRequest) ProtoMessage added in v0.65.96

func (*VerifyUserForResetPasswordRequest) ProtoMessage()

func (*VerifyUserForResetPasswordRequest) ProtoReflect added in v0.65.96

func (*VerifyUserForResetPasswordRequest) Reset added in v0.65.96

func (*VerifyUserForResetPasswordRequest) String added in v0.65.96

type VerifyUserForResetPasswordResponse added in v0.65.96

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

Response message for Iam.VerifyUserForResetPassword rpc.

func (*VerifyUserForResetPasswordResponse) Descriptor deprecated added in v0.65.96

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

Deprecated: Use VerifyUserForResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*VerifyUserForResetPasswordResponse) GetDoesUserExists added in v0.65.96

func (x *VerifyUserForResetPasswordResponse) GetDoesUserExists() bool

func (*VerifyUserForResetPasswordResponse) ProtoMessage added in v0.65.96

func (*VerifyUserForResetPasswordResponse) ProtoMessage()

func (*VerifyUserForResetPasswordResponse) ProtoReflect added in v0.65.96

func (*VerifyUserForResetPasswordResponse) Reset added in v0.65.96

func (*VerifyUserForResetPasswordResponse) String added in v0.65.96

type WhoAmIRequest

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

Request message for the Iam.WhoAmI rpc.

func (*WhoAmIRequest) Descriptor deprecated

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

Deprecated: Use WhoAmIRequest.ProtoReflect.Descriptor instead.

func (*WhoAmIRequest) ProtoMessage

func (*WhoAmIRequest) ProtoMessage()

func (*WhoAmIRequest) ProtoReflect

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

func (*WhoAmIRequest) Reset

func (x *WhoAmIRequest) Reset()

func (*WhoAmIRequest) String

func (x *WhoAmIRequest) String() string

Jump to

Keyboard shortcuts

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