projectv1

package
v0.0.0-...-94cd6a6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProjectService_ActivateProject_FullMethodName         = "/cloudstack.management.project.v1.ProjectService/ActivateProject"
	ProjectService_CreateProject_FullMethodName           = "/cloudstack.management.project.v1.ProjectService/CreateProject"
	ProjectService_DeleteProject_FullMethodName           = "/cloudstack.management.project.v1.ProjectService/DeleteProject"
	ProjectService_DeleteProjectInvitation_FullMethodName = "/cloudstack.management.project.v1.ProjectService/DeleteProjectInvitation"
	ProjectService_ListProjectInvitations_FullMethodName  = "/cloudstack.management.project.v1.ProjectService/ListProjectInvitations"
	ProjectService_ListProjects_FullMethodName            = "/cloudstack.management.project.v1.ProjectService/ListProjects"
	ProjectService_SuspendProject_FullMethodName          = "/cloudstack.management.project.v1.ProjectService/SuspendProject"
	ProjectService_UpdateProject_FullMethodName           = "/cloudstack.management.project.v1.ProjectService/UpdateProject"
	ProjectService_UpdateProjectInvitation_FullMethodName = "/cloudstack.management.project.v1.ProjectService/UpdateProjectInvitation"
)

Variables

View Source
var File_cloudstack_management_project_v1_project_gen_proto protoreflect.FileDescriptor
View Source
var ProjectService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.project.v1.ProjectService",
	HandlerType: (*ProjectServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ActivateProject",
			Handler:    _ProjectService_ActivateProject_Handler,
		},
		{
			MethodName: "CreateProject",
			Handler:    _ProjectService_CreateProject_Handler,
		},
		{
			MethodName: "DeleteProject",
			Handler:    _ProjectService_DeleteProject_Handler,
		},
		{
			MethodName: "DeleteProjectInvitation",
			Handler:    _ProjectService_DeleteProjectInvitation_Handler,
		},
		{
			MethodName: "ListProjectInvitations",
			Handler:    _ProjectService_ListProjectInvitations_Handler,
		},
		{
			MethodName: "ListProjects",
			Handler:    _ProjectService_ListProjects_Handler,
		},
		{
			MethodName: "SuspendProject",
			Handler:    _ProjectService_SuspendProject_Handler,
		},
		{
			MethodName: "UpdateProject",
			Handler:    _ProjectService_UpdateProject_Handler,
		},
		{
			MethodName: "UpdateProjectInvitation",
			Handler:    _ProjectService_UpdateProjectInvitation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/project/v1/project.gen.proto",
}

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

Functions

func RegisterProjectServiceServer

func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)

Types

type ActivateProjectRequest

type ActivateProjectRequest struct {

	// id of the project to be modified
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ActivateProjectRequest represents the parameters for activates a project

func (*ActivateProjectRequest) Descriptor deprecated

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

Deprecated: Use ActivateProjectRequest.ProtoReflect.Descriptor instead.

func (*ActivateProjectRequest) GetId

func (x *ActivateProjectRequest) GetId() int64

func (*ActivateProjectRequest) GetInjectedJobId

func (x *ActivateProjectRequest) GetInjectedJobId() string

func (*ActivateProjectRequest) GetResponseType

func (x *ActivateProjectRequest) GetResponseType() string

func (*ActivateProjectRequest) GetStartEventId

func (x *ActivateProjectRequest) GetStartEventId() int64

func (*ActivateProjectRequest) ProtoMessage

func (*ActivateProjectRequest) ProtoMessage()

func (*ActivateProjectRequest) ProtoReflect

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

func (*ActivateProjectRequest) Reset

func (x *ActivateProjectRequest) Reset()

func (*ActivateProjectRequest) String

func (x *ActivateProjectRequest) String() string

type ActivateProjectResponse

type ActivateProjectResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ActivateProjectResponse represents the response from activates a project

func (*ActivateProjectResponse) Descriptor deprecated

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

Deprecated: Use ActivateProjectResponse.ProtoReflect.Descriptor instead.

func (*ActivateProjectResponse) GetResult

func (x *ActivateProjectResponse) GetResult() *Result

func (*ActivateProjectResponse) ProtoMessage

func (*ActivateProjectResponse) ProtoMessage()

func (*ActivateProjectResponse) ProtoReflect

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

func (*ActivateProjectResponse) Reset

func (x *ActivateProjectResponse) Reset()

func (*ActivateProjectResponse) String

func (x *ActivateProjectResponse) String() string

type CreateProjectRequest

type CreateProjectRequest struct {

	// account who will be Admin for the project
	AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// user ID of the account to be assigned as owner of the project i.e., Project Admin
	UserId *int64 `protobuf:"varint,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	// domain ID of the account owning a project
	DomainId *int64 `protobuf:"varint,3,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// ID of the account owning a project
	AccountId *int64 `protobuf:"varint,4,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	// name of the project
	Name *string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
	// The display text of the project, defaults to the 'name´.
	DisplayText   *string `protobuf:"bytes,6,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	StartEventId  *int64  `protobuf:"varint,7,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,8,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,9,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CreateProjectRequest represents the parameters for creates a project

func (*CreateProjectRequest) Descriptor deprecated

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

Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.

func (*CreateProjectRequest) GetAccountId

func (x *CreateProjectRequest) GetAccountId() int64

func (*CreateProjectRequest) GetAccountName

func (x *CreateProjectRequest) GetAccountName() string

func (*CreateProjectRequest) GetDisplayText

func (x *CreateProjectRequest) GetDisplayText() string

func (*CreateProjectRequest) GetDomainId

func (x *CreateProjectRequest) GetDomainId() int64

func (*CreateProjectRequest) GetInjectedJobId

func (x *CreateProjectRequest) GetInjectedJobId() string

func (*CreateProjectRequest) GetName

func (x *CreateProjectRequest) GetName() string

func (*CreateProjectRequest) GetResponseType

func (x *CreateProjectRequest) GetResponseType() string

func (*CreateProjectRequest) GetStartEventId

func (x *CreateProjectRequest) GetStartEventId() int64

func (*CreateProjectRequest) GetUserId

func (x *CreateProjectRequest) GetUserId() int64

func (*CreateProjectRequest) ProtoMessage

func (*CreateProjectRequest) ProtoMessage()

func (*CreateProjectRequest) ProtoReflect

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

func (*CreateProjectRequest) Reset

func (x *CreateProjectRequest) Reset()

func (*CreateProjectRequest) String

func (x *CreateProjectRequest) String() string

type CreateProjectResponse

type CreateProjectResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

CreateProjectResponse represents the response from creates a project

func (*CreateProjectResponse) Descriptor deprecated

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

Deprecated: Use CreateProjectResponse.ProtoReflect.Descriptor instead.

func (*CreateProjectResponse) GetResult

func (x *CreateProjectResponse) GetResult() *Result

func (*CreateProjectResponse) ProtoMessage

func (*CreateProjectResponse) ProtoMessage()

func (*CreateProjectResponse) ProtoReflect

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

func (*CreateProjectResponse) Reset

func (x *CreateProjectResponse) Reset()

func (*CreateProjectResponse) String

func (x *CreateProjectResponse) String() string

type DeleteProjectInvitationRequest

type DeleteProjectInvitationRequest struct {

	// id of the invitation
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DeleteProjectInvitationRequest represents the parameters for deletes project invitation

func (*DeleteProjectInvitationRequest) Descriptor deprecated

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

Deprecated: Use DeleteProjectInvitationRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectInvitationRequest) GetId

func (*DeleteProjectInvitationRequest) GetInjectedJobId

func (x *DeleteProjectInvitationRequest) GetInjectedJobId() string

func (*DeleteProjectInvitationRequest) GetResponseType

func (x *DeleteProjectInvitationRequest) GetResponseType() string

func (*DeleteProjectInvitationRequest) GetStartEventId

func (x *DeleteProjectInvitationRequest) GetStartEventId() int64

func (*DeleteProjectInvitationRequest) ProtoMessage

func (*DeleteProjectInvitationRequest) ProtoMessage()

func (*DeleteProjectInvitationRequest) ProtoReflect

func (*DeleteProjectInvitationRequest) Reset

func (x *DeleteProjectInvitationRequest) Reset()

func (*DeleteProjectInvitationRequest) String

type DeleteProjectInvitationResponse

type DeleteProjectInvitationResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DeleteProjectInvitationResponse represents the response from deletes project invitation

func (*DeleteProjectInvitationResponse) Descriptor deprecated

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

Deprecated: Use DeleteProjectInvitationResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectInvitationResponse) GetResult

func (x *DeleteProjectInvitationResponse) GetResult() *Result

func (*DeleteProjectInvitationResponse) ProtoMessage

func (*DeleteProjectInvitationResponse) ProtoMessage()

func (*DeleteProjectInvitationResponse) ProtoReflect

func (*DeleteProjectInvitationResponse) Reset

func (*DeleteProjectInvitationResponse) String

type DeleteProjectRequest

type DeleteProjectRequest struct {

	// id of the project to be deleted
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// true if all project resources have to be cleaned up, false otherwise
	Cleanup       *bool   `protobuf:"varint,2,opt,name=cleanup" json:"cleanup,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DeleteProjectRequest represents the parameters for deletes a project

func (*DeleteProjectRequest) Descriptor deprecated

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

Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteProjectRequest) GetCleanup

func (x *DeleteProjectRequest) GetCleanup() bool

func (*DeleteProjectRequest) GetId

func (x *DeleteProjectRequest) GetId() int64

func (*DeleteProjectRequest) GetInjectedJobId

func (x *DeleteProjectRequest) GetInjectedJobId() string

func (*DeleteProjectRequest) GetResponseType

func (x *DeleteProjectRequest) GetResponseType() string

func (*DeleteProjectRequest) GetStartEventId

func (x *DeleteProjectRequest) GetStartEventId() int64

func (*DeleteProjectRequest) ProtoMessage

func (*DeleteProjectRequest) ProtoMessage()

func (*DeleteProjectRequest) ProtoReflect

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

func (*DeleteProjectRequest) Reset

func (x *DeleteProjectRequest) Reset()

func (*DeleteProjectRequest) String

func (x *DeleteProjectRequest) String() string

type DeleteProjectResponse

type DeleteProjectResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DeleteProjectResponse represents the response from deletes a project

func (*DeleteProjectResponse) Descriptor deprecated

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

Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.

func (*DeleteProjectResponse) GetResult

func (x *DeleteProjectResponse) GetResult() *Result

func (*DeleteProjectResponse) ProtoMessage

func (*DeleteProjectResponse) ProtoMessage()

func (*DeleteProjectResponse) ProtoReflect

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

func (*DeleteProjectResponse) Reset

func (x *DeleteProjectResponse) Reset()

func (*DeleteProjectResponse) String

func (x *DeleteProjectResponse) String() string

type ListProjectInvitationsRequest

type ListProjectInvitationsRequest struct {

	// list by project id
	ProjectId *int64 `protobuf:"varint,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// if true, list only active invitations - having Pending state and ones that are not timed out yet
	ActiveOnly *bool `protobuf:"varint,2,opt,name=active_only,json=activeOnly" json:"active_only,omitempty"`
	// list invitations by state
	State *string `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
	// list invitations by id
	Id *int64 `protobuf:"varint,4,opt,name=id" json:"id,omitempty"`
	// list invitation by user ID
	UserId *int64 `protobuf:"varint,5,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	// list resources by account. Must be used with the domainId parameter.
	AccountName *string `protobuf:"bytes,6,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.
	ListAll *bool `protobuf:"varint,7,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
	// list only resources belonging to the domain specified
	DomainId *int64 `protobuf:"varint,8,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.
	Recursive *bool `protobuf:"varint,9,opt,name=recursive" json:"recursive,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,10,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,11,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,12,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,13,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListProjectInvitationsRequest represents the parameters for lists project invitations and provides detailed information for listed invitations

func (*ListProjectInvitationsRequest) Descriptor deprecated

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

Deprecated: Use ListProjectInvitationsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectInvitationsRequest) GetAccountName

func (x *ListProjectInvitationsRequest) GetAccountName() string

func (*ListProjectInvitationsRequest) GetActiveOnly

func (x *ListProjectInvitationsRequest) GetActiveOnly() bool

func (*ListProjectInvitationsRequest) GetDomainId

func (x *ListProjectInvitationsRequest) GetDomainId() int64

func (*ListProjectInvitationsRequest) GetId

func (*ListProjectInvitationsRequest) GetKeyword

func (x *ListProjectInvitationsRequest) GetKeyword() string

func (*ListProjectInvitationsRequest) GetListAll

func (x *ListProjectInvitationsRequest) GetListAll() bool

func (*ListProjectInvitationsRequest) GetPage

func (x *ListProjectInvitationsRequest) GetPage() int32

func (*ListProjectInvitationsRequest) GetPageSize

func (x *ListProjectInvitationsRequest) GetPageSize() int32

func (*ListProjectInvitationsRequest) GetProjectId

func (x *ListProjectInvitationsRequest) GetProjectId() int64

func (*ListProjectInvitationsRequest) GetRecursive

func (x *ListProjectInvitationsRequest) GetRecursive() bool

func (*ListProjectInvitationsRequest) GetResponseType

func (x *ListProjectInvitationsRequest) GetResponseType() string

func (*ListProjectInvitationsRequest) GetState

func (x *ListProjectInvitationsRequest) GetState() string

func (*ListProjectInvitationsRequest) GetUserId

func (x *ListProjectInvitationsRequest) GetUserId() int64

func (*ListProjectInvitationsRequest) ProtoMessage

func (*ListProjectInvitationsRequest) ProtoMessage()

func (*ListProjectInvitationsRequest) ProtoReflect

func (*ListProjectInvitationsRequest) Reset

func (x *ListProjectInvitationsRequest) Reset()

func (*ListProjectInvitationsRequest) String

type ListProjectInvitationsResponse

type ListProjectInvitationsResponse struct {

	// The list of ProjectInvitations
	Items []*ProjectInvitation `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of ProjectInvitations
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListProjectInvitationsResponse represents the response from lists project invitations and provides detailed information for listed invitations

func (*ListProjectInvitationsResponse) Descriptor deprecated

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

Deprecated: Use ListProjectInvitationsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectInvitationsResponse) GetItems

func (*ListProjectInvitationsResponse) GetTotalCount

func (x *ListProjectInvitationsResponse) GetTotalCount() int32

func (*ListProjectInvitationsResponse) ProtoMessage

func (*ListProjectInvitationsResponse) ProtoMessage()

func (*ListProjectInvitationsResponse) ProtoReflect

func (*ListProjectInvitationsResponse) Reset

func (x *ListProjectInvitationsResponse) Reset()

func (*ListProjectInvitationsResponse) String

type ListProjectsRequest

type ListProjectsRequest struct {

	// list projects by project ID
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// list projects by name
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// list projects by display text
	DisplayText *string `protobuf:"bytes,3,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// list projects by state
	State *string `protobuf:"bytes,4,opt,name=state" json:"state,omitempty"`
	// List projects by tags (key/value pairs)
	Tags map[string]string `` /* 128-byte string literal not displayed */
	// List projects by username
	Username *string `protobuf:"bytes,6,opt,name=username" json:"username,omitempty"`
	// comma separated list of project details requested, value can be a list of [ all, resource, min]
	ViewDetails []string `protobuf:"bytes,7,rep,name=view_details,json=viewDetails" json:"view_details,omitempty"`
	// flag to display the resource icon for projects
	ShowIcon *bool `protobuf:"varint,8,opt,name=show_icon,json=showIcon" json:"show_icon,omitempty"`
	// list resources by account. Must be used with the domainId parameter.
	AccountName *string `protobuf:"bytes,9,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.
	ListAll *bool `protobuf:"varint,10,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
	// list only resources belonging to the domain specified
	DomainId *int64 `protobuf:"varint,11,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.
	Recursive *bool `protobuf:"varint,12,opt,name=recursive" json:"recursive,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,13,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,14,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,15,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,16,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListProjectsRequest represents the parameters for lists projects and provides detailed information for listed projects

func (*ListProjectsRequest) Descriptor deprecated

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

Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.

func (*ListProjectsRequest) GetAccountName

func (x *ListProjectsRequest) GetAccountName() string

func (*ListProjectsRequest) GetDisplayText

func (x *ListProjectsRequest) GetDisplayText() string

func (*ListProjectsRequest) GetDomainId

func (x *ListProjectsRequest) GetDomainId() int64

func (*ListProjectsRequest) GetId

func (x *ListProjectsRequest) GetId() int64

func (*ListProjectsRequest) GetKeyword

func (x *ListProjectsRequest) GetKeyword() string

func (*ListProjectsRequest) GetListAll

func (x *ListProjectsRequest) GetListAll() bool

func (*ListProjectsRequest) GetName

func (x *ListProjectsRequest) GetName() string

func (*ListProjectsRequest) GetPage

func (x *ListProjectsRequest) GetPage() int32

func (*ListProjectsRequest) GetPageSize

func (x *ListProjectsRequest) GetPageSize() int32

func (*ListProjectsRequest) GetRecursive

func (x *ListProjectsRequest) GetRecursive() bool

func (*ListProjectsRequest) GetResponseType

func (x *ListProjectsRequest) GetResponseType() string

func (*ListProjectsRequest) GetShowIcon

func (x *ListProjectsRequest) GetShowIcon() bool

func (*ListProjectsRequest) GetState

func (x *ListProjectsRequest) GetState() string

func (*ListProjectsRequest) GetTags

func (x *ListProjectsRequest) GetTags() map[string]string

func (*ListProjectsRequest) GetUsername

func (x *ListProjectsRequest) GetUsername() string

func (*ListProjectsRequest) GetViewDetails

func (x *ListProjectsRequest) GetViewDetails() []string

func (*ListProjectsRequest) ProtoMessage

func (*ListProjectsRequest) ProtoMessage()

func (*ListProjectsRequest) ProtoReflect

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

func (*ListProjectsRequest) Reset

func (x *ListProjectsRequest) Reset()

func (*ListProjectsRequest) String

func (x *ListProjectsRequest) String() string

type ListProjectsResponse

type ListProjectsResponse struct {

	// The list of Projects
	Items []*Project `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of Projects
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListProjectsResponse represents the response from lists projects and provides detailed information for listed projects

func (*ListProjectsResponse) Descriptor deprecated

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

Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.

func (*ListProjectsResponse) GetItems

func (x *ListProjectsResponse) GetItems() []*Project

func (*ListProjectsResponse) GetTotalCount

func (x *ListProjectsResponse) GetTotalCount() int32

func (*ListProjectsResponse) ProtoMessage

func (*ListProjectsResponse) ProtoMessage()

func (*ListProjectsResponse) ProtoReflect

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

func (*ListProjectsResponse) Reset

func (x *ListProjectsResponse) Reset()

func (*ListProjectsResponse) String

func (x *ListProjectsResponse) String() string

type Project

type Project struct {

	// The ID of the Project
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the Project
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the Project
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the Project
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

Project represents a Project Item

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetCreated

func (x *Project) GetCreated() string

func (*Project) GetDescription

func (x *Project) GetDescription() string

func (*Project) GetDisplayName

func (x *Project) GetDisplayName() string

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectInvitation

type ProjectInvitation struct {

	// The ID of the ProjectInvitation
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the ProjectInvitation
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the ProjectInvitation
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the ProjectInvitation
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

ProjectInvitation represents a ProjectInvitation Item

func (*ProjectInvitation) Descriptor deprecated

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

Deprecated: Use ProjectInvitation.ProtoReflect.Descriptor instead.

func (*ProjectInvitation) GetCreated

func (x *ProjectInvitation) GetCreated() string

func (*ProjectInvitation) GetDescription

func (x *ProjectInvitation) GetDescription() string

func (*ProjectInvitation) GetDisplayName

func (x *ProjectInvitation) GetDisplayName() string

func (*ProjectInvitation) GetId

func (x *ProjectInvitation) GetId() string

func (*ProjectInvitation) GetName

func (x *ProjectInvitation) GetName() string

func (*ProjectInvitation) ProtoMessage

func (*ProjectInvitation) ProtoMessage()

func (*ProjectInvitation) ProtoReflect

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

func (*ProjectInvitation) Reset

func (x *ProjectInvitation) Reset()

func (*ProjectInvitation) String

func (x *ProjectInvitation) String() string

type ProjectServiceClient

type ProjectServiceClient interface {
	// ActivateProject Activates a project
	ActivateProject(ctx context.Context, in *ActivateProjectRequest, opts ...grpc.CallOption) (*ActivateProjectResponse, error)
	// CreateProject Creates a project
	CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*CreateProjectResponse, error)
	// DeleteProject Deletes a project
	DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error)
	// DeleteProjectInvitation Deletes project invitation
	DeleteProjectInvitation(ctx context.Context, in *DeleteProjectInvitationRequest, opts ...grpc.CallOption) (*DeleteProjectInvitationResponse, error)
	// ListProjectInvitations Lists project invitations and provides detailed information for listed invitations
	ListProjectInvitations(ctx context.Context, in *ListProjectInvitationsRequest, opts ...grpc.CallOption) (*ListProjectInvitationsResponse, error)
	// ListProjects Lists projects and provides detailed information for listed projects
	ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error)
	// SuspendProject Suspends a project
	SuspendProject(ctx context.Context, in *SuspendProjectRequest, opts ...grpc.CallOption) (*SuspendProjectResponse, error)
	// UpdateProject Updates a project
	UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*UpdateProjectResponse, error)
	// UpdateProjectInvitation Accepts or declines project invitation
	UpdateProjectInvitation(ctx context.Context, in *UpdateProjectInvitationRequest, opts ...grpc.CallOption) (*UpdateProjectInvitationResponse, error)
}

ProjectServiceClient is the client API for ProjectService 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.

ProjectService provides operations for managing Projects

type ProjectServiceServer

type ProjectServiceServer interface {
	// ActivateProject Activates a project
	ActivateProject(context.Context, *ActivateProjectRequest) (*ActivateProjectResponse, error)
	// CreateProject Creates a project
	CreateProject(context.Context, *CreateProjectRequest) (*CreateProjectResponse, error)
	// DeleteProject Deletes a project
	DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error)
	// DeleteProjectInvitation Deletes project invitation
	DeleteProjectInvitation(context.Context, *DeleteProjectInvitationRequest) (*DeleteProjectInvitationResponse, error)
	// ListProjectInvitations Lists project invitations and provides detailed information for listed invitations
	ListProjectInvitations(context.Context, *ListProjectInvitationsRequest) (*ListProjectInvitationsResponse, error)
	// ListProjects Lists projects and provides detailed information for listed projects
	ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
	// SuspendProject Suspends a project
	SuspendProject(context.Context, *SuspendProjectRequest) (*SuspendProjectResponse, error)
	// UpdateProject Updates a project
	UpdateProject(context.Context, *UpdateProjectRequest) (*UpdateProjectResponse, error)
	// UpdateProjectInvitation Accepts or declines project invitation
	UpdateProjectInvitation(context.Context, *UpdateProjectInvitationRequest) (*UpdateProjectInvitationResponse, error)
	// contains filtered or unexported methods
}

ProjectServiceServer is the server API for ProjectService service. All implementations must embed UnimplementedProjectServiceServer for forward compatibility.

ProjectService provides operations for managing Projects

type Result

type Result struct {

	// Whether the operation was successful
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// Any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// The ID of the resource affected by the operation
	Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// The job ID for an async operation
	JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
	// The status of the job
	JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
	// contains filtered or unexported fields
}

Result represents a generic operation result

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Success

type Success struct {

	// true if operation is executed successfully
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// contains filtered or unexported fields
}

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

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

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

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

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type SuspendProjectRequest

type SuspendProjectRequest struct {

	// id of the project to be suspended
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

SuspendProjectRequest represents the parameters for suspends a project

func (*SuspendProjectRequest) Descriptor deprecated

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

Deprecated: Use SuspendProjectRequest.ProtoReflect.Descriptor instead.

func (*SuspendProjectRequest) GetId

func (x *SuspendProjectRequest) GetId() int64

func (*SuspendProjectRequest) GetInjectedJobId

func (x *SuspendProjectRequest) GetInjectedJobId() string

func (*SuspendProjectRequest) GetResponseType

func (x *SuspendProjectRequest) GetResponseType() string

func (*SuspendProjectRequest) GetStartEventId

func (x *SuspendProjectRequest) GetStartEventId() int64

func (*SuspendProjectRequest) ProtoMessage

func (*SuspendProjectRequest) ProtoMessage()

func (*SuspendProjectRequest) ProtoReflect

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

func (*SuspendProjectRequest) Reset

func (x *SuspendProjectRequest) Reset()

func (*SuspendProjectRequest) String

func (x *SuspendProjectRequest) String() string

type SuspendProjectResponse

type SuspendProjectResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

SuspendProjectResponse represents the response from suspends a project

func (*SuspendProjectResponse) Descriptor deprecated

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

Deprecated: Use SuspendProjectResponse.ProtoReflect.Descriptor instead.

func (*SuspendProjectResponse) GetResult

func (x *SuspendProjectResponse) GetResult() *Result

func (*SuspendProjectResponse) ProtoMessage

func (*SuspendProjectResponse) ProtoMessage()

func (*SuspendProjectResponse) ProtoReflect

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

func (*SuspendProjectResponse) Reset

func (x *SuspendProjectResponse) Reset()

func (*SuspendProjectResponse) String

func (x *SuspendProjectResponse) String() string

type UnimplementedProjectServiceServer

type UnimplementedProjectServiceServer struct{}

UnimplementedProjectServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProjectServiceServer) ActivateProject

func (UnimplementedProjectServiceServer) CreateProject

func (UnimplementedProjectServiceServer) DeleteProject

func (UnimplementedProjectServiceServer) ListProjects

func (UnimplementedProjectServiceServer) SuspendProject

func (UnimplementedProjectServiceServer) UpdateProject

type UnsafeProjectServiceServer

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

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

type UpdateProjectInvitationRequest

type UpdateProjectInvitationRequest struct {

	// id of the project to join
	ProjectId *int64 `protobuf:"varint,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// account that is joining the project
	AccountName *string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// User UUID, required for adding account from external provisioning system
	UserId *int64 `protobuf:"varint,3,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	// list invitations for specified account; this parameter has to be specified with domainId
	Token *string `protobuf:"bytes,4,opt,name=token" json:"token,omitempty"`
	// if true, accept the invitation, decline if false. True by default
	Accept        *bool   `protobuf:"varint,5,opt,name=accept" json:"accept,omitempty"`
	StartEventId  *int64  `protobuf:"varint,6,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,7,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,8,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateProjectInvitationRequest represents the parameters for accepts or declines project invitation

func (*UpdateProjectInvitationRequest) Descriptor deprecated

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

Deprecated: Use UpdateProjectInvitationRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectInvitationRequest) GetAccept

func (x *UpdateProjectInvitationRequest) GetAccept() bool

func (*UpdateProjectInvitationRequest) GetAccountName

func (x *UpdateProjectInvitationRequest) GetAccountName() string

func (*UpdateProjectInvitationRequest) GetInjectedJobId

func (x *UpdateProjectInvitationRequest) GetInjectedJobId() string

func (*UpdateProjectInvitationRequest) GetProjectId

func (x *UpdateProjectInvitationRequest) GetProjectId() int64

func (*UpdateProjectInvitationRequest) GetResponseType

func (x *UpdateProjectInvitationRequest) GetResponseType() string

func (*UpdateProjectInvitationRequest) GetStartEventId

func (x *UpdateProjectInvitationRequest) GetStartEventId() int64

func (*UpdateProjectInvitationRequest) GetToken

func (x *UpdateProjectInvitationRequest) GetToken() string

func (*UpdateProjectInvitationRequest) GetUserId

func (x *UpdateProjectInvitationRequest) GetUserId() int64

func (*UpdateProjectInvitationRequest) ProtoMessage

func (*UpdateProjectInvitationRequest) ProtoMessage()

func (*UpdateProjectInvitationRequest) ProtoReflect

func (*UpdateProjectInvitationRequest) Reset

func (x *UpdateProjectInvitationRequest) Reset()

func (*UpdateProjectInvitationRequest) String

type UpdateProjectInvitationResponse

type UpdateProjectInvitationResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

UpdateProjectInvitationResponse represents the response from accepts or declines project invitation

func (*UpdateProjectInvitationResponse) Descriptor deprecated

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

Deprecated: Use UpdateProjectInvitationResponse.ProtoReflect.Descriptor instead.

func (*UpdateProjectInvitationResponse) GetResult

func (x *UpdateProjectInvitationResponse) GetResult() *Result

func (*UpdateProjectInvitationResponse) ProtoMessage

func (*UpdateProjectInvitationResponse) ProtoMessage()

func (*UpdateProjectInvitationResponse) ProtoReflect

func (*UpdateProjectInvitationResponse) Reset

func (*UpdateProjectInvitationResponse) String

type UpdateProjectRequest

type UpdateProjectRequest struct {

	// id of the project to be modified
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// new Admin account for the project
	AccountName *string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// display text of the project
	DisplayText *string `protobuf:"bytes,3,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// ID of the user to be promoted/demoted
	UserId *int64 `protobuf:"varint,4,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	// Account level role to be assigned to the user/account : Admin/Regular
	RoleType *string `protobuf:"bytes,5,opt,name=role_type,json=roleType" json:"role_type,omitempty"`
	// when true, it swaps ownership with the account/ user provided. Ideally to be used when a single project administrator is present. In case of multiple project admins, swapowner is to be set to false,to promote or demote the user/account based on the roleType (Regular or Admin) provided. Defaults to true
	SwapOwner *bool `protobuf:"varint,6,opt,name=swap_owner,json=swapOwner" json:"swap_owner,omitempty"`
	// name of the project
	Name          *string `protobuf:"bytes,7,opt,name=name" json:"name,omitempty"`
	StartEventId  *int64  `protobuf:"varint,8,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,9,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,10,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateProjectRequest represents the parameters for updates a project

func (*UpdateProjectRequest) Descriptor deprecated

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

Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectRequest) GetAccountName

func (x *UpdateProjectRequest) GetAccountName() string

func (*UpdateProjectRequest) GetDisplayText

func (x *UpdateProjectRequest) GetDisplayText() string

func (*UpdateProjectRequest) GetId

func (x *UpdateProjectRequest) GetId() int64

func (*UpdateProjectRequest) GetInjectedJobId

func (x *UpdateProjectRequest) GetInjectedJobId() string

func (*UpdateProjectRequest) GetName

func (x *UpdateProjectRequest) GetName() string

func (*UpdateProjectRequest) GetResponseType

func (x *UpdateProjectRequest) GetResponseType() string

func (*UpdateProjectRequest) GetRoleType

func (x *UpdateProjectRequest) GetRoleType() string

func (*UpdateProjectRequest) GetStartEventId

func (x *UpdateProjectRequest) GetStartEventId() int64

func (*UpdateProjectRequest) GetSwapOwner

func (x *UpdateProjectRequest) GetSwapOwner() bool

func (*UpdateProjectRequest) GetUserId

func (x *UpdateProjectRequest) GetUserId() int64

func (*UpdateProjectRequest) ProtoMessage

func (*UpdateProjectRequest) ProtoMessage()

func (*UpdateProjectRequest) ProtoReflect

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

func (*UpdateProjectRequest) Reset

func (x *UpdateProjectRequest) Reset()

func (*UpdateProjectRequest) String

func (x *UpdateProjectRequest) String() string

type UpdateProjectResponse

type UpdateProjectResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

UpdateProjectResponse represents the response from updates a project

func (*UpdateProjectResponse) Descriptor deprecated

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

Deprecated: Use UpdateProjectResponse.ProtoReflect.Descriptor instead.

func (*UpdateProjectResponse) GetResult

func (x *UpdateProjectResponse) GetResult() *Result

func (*UpdateProjectResponse) ProtoMessage

func (*UpdateProjectResponse) ProtoMessage()

func (*UpdateProjectResponse) ProtoReflect

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

func (*UpdateProjectResponse) Reset

func (x *UpdateProjectResponse) Reset()

func (*UpdateProjectResponse) String

func (x *UpdateProjectResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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