Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterProjectAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProjectAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectAPIClient) error
- func RegisterProjectAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProjectAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectAPIServer) error
- func RegisterProjectAPIServer(s grpc.ServiceRegistrar, srv ProjectAPIServer)
- type CreateProjectMemberRequest
- func (*CreateProjectMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectMemberRequest) GetParent() string
- func (x *CreateProjectMemberRequest) GetProjectMember() *ProjectMember
- func (*CreateProjectMemberRequest) ProtoMessage()
- func (x *CreateProjectMemberRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectMemberRequest) Reset()
- func (x *CreateProjectMemberRequest) String() string
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetParent() string
- func (x *CreateProjectRequest) GetProject() *Project
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (x *CreateProjectRequest) String() string
- type DeleteProjectMemberRequest
- func (*DeleteProjectMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectMemberRequest) GetName() string
- func (*DeleteProjectMemberRequest) ProtoMessage()
- func (x *DeleteProjectMemberRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectMemberRequest) Reset()
- func (x *DeleteProjectMemberRequest) String() string
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectRequest) GetForce() bool
- func (x *DeleteProjectRequest) GetName() string
- func (*DeleteProjectRequest) ProtoMessage()
- func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectRequest) Reset()
- func (x *DeleteProjectRequest) String() string
- type GetProjectRequest
- type ListProjectMembersRequest
- func (*ListProjectMembersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectMembersRequest) GetFilter() *ListProjectsMemberFilter
- func (x *ListProjectMembersRequest) GetPageSize() int32
- func (x *ListProjectMembersRequest) GetPageToken() string
- func (x *ListProjectMembersRequest) GetParent() string
- func (*ListProjectMembersRequest) ProtoMessage()
- func (x *ListProjectMembersRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectMembersRequest) Reset()
- func (x *ListProjectMembersRequest) String() string
- type ListProjectMembersResponse
- func (*ListProjectMembersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectMembersResponse) GetCollectionCount() int32
- func (x *ListProjectMembersResponse) GetNextPageToken() string
- func (x *ListProjectMembersResponse) GetProjectMembers() []*ProjectMember
- func (*ListProjectMembersResponse) ProtoMessage()
- func (x *ListProjectMembersResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectMembersResponse) Reset()
- func (x *ListProjectMembersResponse) String() string
- type ListProjectsFilter
- func (*ListProjectsFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsFilter) GetCreatedFromTimestamp() int64
- func (x *ListProjectsFilter) GetCreatedUntilTimestamp() int64
- func (x *ListProjectsFilter) GetOwnerIds() []string
- func (x *ListProjectsFilter) GetStatuses() []string
- func (*ListProjectsFilter) ProtoMessage()
- func (x *ListProjectsFilter) ProtoReflect() protoreflect.Message
- func (x *ListProjectsFilter) Reset()
- func (x *ListProjectsFilter) String() string
- type ListProjectsMemberFilter
- func (*ListProjectsMemberFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsMemberFilter) GetCreatedFromTimestamp() int64
- func (x *ListProjectsMemberFilter) GetCreatedUntilTimestamp() int64
- func (x *ListProjectsMemberFilter) GetStatuses() []string
- func (*ListProjectsMemberFilter) ProtoMessage()
- func (x *ListProjectsMemberFilter) ProtoReflect() protoreflect.Message
- func (x *ListProjectsMemberFilter) Reset()
- func (x *ListProjectsMemberFilter) String() string
- type ListProjectsRequest
- func (*ListProjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsRequest) GetFilter() *ListProjectsFilter
- func (x *ListProjectsRequest) GetPageSize() int32
- func (x *ListProjectsRequest) GetPageToken() string
- func (x *ListProjectsRequest) GetParent() string
- func (*ListProjectsRequest) ProtoMessage()
- func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectsRequest) Reset()
- func (x *ListProjectsRequest) String() string
- type ListProjectsResponse
- func (*ListProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsResponse) GetCollectionCount() int32
- func (x *ListProjectsResponse) GetNextPageToken() string
- func (x *ListProjectsResponse) GetProjects() []*Project
- func (*ListProjectsResponse) ProtoMessage()
- func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectsResponse) Reset()
- func (x *ListProjectsResponse) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetCreateDate() string
- func (x *Project) GetDescription() string
- func (x *Project) GetName() string
- func (x *Project) GetOwnerEmail() string
- func (x *Project) GetOwnerId() string
- func (x *Project) GetOwnerNames() string
- func (x *Project) GetProjectId() string
- func (x *Project) GetProjectName() string
- func (x *Project) GetScopes() []*ProjectScope
- func (x *Project) GetStatus() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectAPIClient
- type ProjectAPIServer
- type ProjectMember
- func (*ProjectMember) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectMember) GetJoinDate() string
- func (x *ProjectMember) GetMemberId() string
- func (x *ProjectMember) GetName() string
- func (x *ProjectMember) GetProjectId() string
- func (x *ProjectMember) GetScopes() []*ProjectScope
- func (x *ProjectMember) GetStatus() string
- func (x *ProjectMember) GetUserId() string
- func (*ProjectMember) ProtoMessage()
- func (x *ProjectMember) ProtoReflect() protoreflect.Message
- func (x *ProjectMember) Reset()
- func (x *ProjectMember) String() string
- type ProjectScope
- func (*ProjectScope) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectScope) GetRead() bool
- func (x *ProjectScope) GetService() string
- func (x *ProjectScope) GetWrite() bool
- func (*ProjectScope) ProtoMessage()
- func (x *ProjectScope) ProtoReflect() protoreflect.Message
- func (x *ProjectScope) Reset()
- func (x *ProjectScope) String() string
- type UnimplementedProjectAPIServer
- func (UnimplementedProjectAPIServer) CreateProject(context.Context, *CreateProjectRequest) (*Project, error)
- func (UnimplementedProjectAPIServer) CreateProjectMember(context.Context, *CreateProjectMemberRequest) (*ProjectMember, error)
- func (UnimplementedProjectAPIServer) DeleteProject(context.Context, *DeleteProjectRequest) (*empty.Empty, error)
- func (UnimplementedProjectAPIServer) DeleteProjectMember(context.Context, *DeleteProjectMemberRequest) (*empty.Empty, error)
- func (UnimplementedProjectAPIServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
- func (UnimplementedProjectAPIServer) ListProjectMembers(context.Context, *ListProjectMembersRequest) (*ListProjectMembersResponse, error)
- func (UnimplementedProjectAPIServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
- func (UnimplementedProjectAPIServer) UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error)
- func (UnimplementedProjectAPIServer) UpdateProjectMember(context.Context, *UpdateProjectMemberRequest) (*ProjectMember, error)
- type UnsafeProjectAPIServer
- type UpdateProjectMemberRequest
- func (*UpdateProjectMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectMemberRequest) GetProjectMember() *ProjectMember
- func (*UpdateProjectMemberRequest) ProtoMessage()
- func (x *UpdateProjectMemberRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectMemberRequest) Reset()
- func (x *UpdateProjectMemberRequest) String() string
- type UpdateProjectRequest
- func (*UpdateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectRequest) GetProject() *Project
- func (*UpdateProjectRequest) ProtoMessage()
- func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectRequest) Reset()
- func (x *UpdateProjectRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_project_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterProjectAPIHandler ¶
func RegisterProjectAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProjectAPIHandler registers the http handlers for service ProjectAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProjectAPIHandlerClient ¶
func RegisterProjectAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectAPIClient) error
RegisterProjectAPIHandlerClient registers the http handlers for service ProjectAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProjectAPIClient" to call the correct interceptors.
func RegisterProjectAPIHandlerFromEndpoint ¶
func RegisterProjectAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProjectAPIHandlerFromEndpoint is same as RegisterProjectAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProjectAPIHandlerServer ¶
func RegisterProjectAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectAPIServer) error
RegisterProjectAPIHandlerServer registers the http handlers for service ProjectAPI to "mux". UnaryRPC :call ProjectAPIServer 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 RegisterProjectAPIHandlerFromEndpoint instead.
func RegisterProjectAPIServer ¶
func RegisterProjectAPIServer(s grpc.ServiceRegistrar, srv ProjectAPIServer)
Types ¶
type CreateProjectMemberRequest ¶
type CreateProjectMemberRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` ProjectMember *ProjectMember `protobuf:"bytes,2,opt,name=project_member,json=projectMember,proto3" json:"project_member,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectMemberRequest) Descriptor
deprecated
func (*CreateProjectMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectMemberRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectMemberRequest) GetParent ¶
func (x *CreateProjectMemberRequest) GetParent() string
func (*CreateProjectMemberRequest) GetProjectMember ¶
func (x *CreateProjectMemberRequest) GetProjectMember() *ProjectMember
func (*CreateProjectMemberRequest) ProtoMessage ¶
func (*CreateProjectMemberRequest) ProtoMessage()
func (*CreateProjectMemberRequest) ProtoReflect ¶
func (x *CreateProjectMemberRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectMemberRequest) Reset ¶
func (x *CreateProjectMemberRequest) Reset()
func (*CreateProjectMemberRequest) String ¶
func (x *CreateProjectMemberRequest) String() string
type CreateProjectRequest ¶
type CreateProjectRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` Project *Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectRequest) Descriptor
deprecated
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetParent ¶
func (x *CreateProjectRequest) GetParent() string
func (*CreateProjectRequest) GetProject ¶
func (x *CreateProjectRequest) GetProject() *Project
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 DeleteProjectMemberRequest ¶
type DeleteProjectMemberRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectMemberRequest) Descriptor
deprecated
func (*DeleteProjectMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectMemberRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectMemberRequest) GetName ¶
func (x *DeleteProjectMemberRequest) GetName() string
func (*DeleteProjectMemberRequest) ProtoMessage ¶
func (*DeleteProjectMemberRequest) ProtoMessage()
func (*DeleteProjectMemberRequest) ProtoReflect ¶
func (x *DeleteProjectMemberRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectMemberRequest) Reset ¶
func (x *DeleteProjectMemberRequest) Reset()
func (*DeleteProjectMemberRequest) String ¶
func (x *DeleteProjectMemberRequest) String() string
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectRequest) Descriptor
deprecated
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectRequest) GetForce ¶
func (x *DeleteProjectRequest) GetForce() bool
func (*DeleteProjectRequest) GetName ¶
func (x *DeleteProjectRequest) GetName() string
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 GetProjectRequest ¶
type GetProjectRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetProjectRequest) Descriptor
deprecated
func (*GetProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.
func (*GetProjectRequest) GetName ¶
func (x *GetProjectRequest) GetName() string
func (*GetProjectRequest) ProtoMessage ¶
func (*GetProjectRequest) ProtoMessage()
func (*GetProjectRequest) ProtoReflect ¶
func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
func (*GetProjectRequest) Reset ¶
func (x *GetProjectRequest) Reset()
func (*GetProjectRequest) String ¶
func (x *GetProjectRequest) String() string
type ListProjectMembersRequest ¶
type ListProjectMembersRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Filter *ListProjectsMemberFilter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListProjectMembersRequest) Descriptor
deprecated
func (*ListProjectMembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectMembersRequest.ProtoReflect.Descriptor instead.
func (*ListProjectMembersRequest) GetFilter ¶
func (x *ListProjectMembersRequest) GetFilter() *ListProjectsMemberFilter
func (*ListProjectMembersRequest) GetPageSize ¶
func (x *ListProjectMembersRequest) GetPageSize() int32
func (*ListProjectMembersRequest) GetPageToken ¶
func (x *ListProjectMembersRequest) GetPageToken() string
func (*ListProjectMembersRequest) GetParent ¶
func (x *ListProjectMembersRequest) GetParent() string
func (*ListProjectMembersRequest) ProtoMessage ¶
func (*ListProjectMembersRequest) ProtoMessage()
func (*ListProjectMembersRequest) ProtoReflect ¶
func (x *ListProjectMembersRequest) ProtoReflect() protoreflect.Message
func (*ListProjectMembersRequest) Reset ¶
func (x *ListProjectMembersRequest) Reset()
func (*ListProjectMembersRequest) String ¶
func (x *ListProjectMembersRequest) String() string
type ListProjectMembersResponse ¶
type ListProjectMembersResponse struct { NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` ProjectMembers []*ProjectMember `protobuf:"bytes,2,rep,name=project_members,json=projectMembers,proto3" json:"project_members,omitempty"` CollectionCount int32 `protobuf:"varint,3,opt,name=collection_count,json=collectionCount,proto3" json:"collection_count,omitempty"` // contains filtered or unexported fields }
func (*ListProjectMembersResponse) Descriptor
deprecated
func (*ListProjectMembersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectMembersResponse.ProtoReflect.Descriptor instead.
func (*ListProjectMembersResponse) GetCollectionCount ¶
func (x *ListProjectMembersResponse) GetCollectionCount() int32
func (*ListProjectMembersResponse) GetNextPageToken ¶
func (x *ListProjectMembersResponse) GetNextPageToken() string
func (*ListProjectMembersResponse) GetProjectMembers ¶
func (x *ListProjectMembersResponse) GetProjectMembers() []*ProjectMember
func (*ListProjectMembersResponse) ProtoMessage ¶
func (*ListProjectMembersResponse) ProtoMessage()
func (*ListProjectMembersResponse) ProtoReflect ¶
func (x *ListProjectMembersResponse) ProtoReflect() protoreflect.Message
func (*ListProjectMembersResponse) Reset ¶
func (x *ListProjectMembersResponse) Reset()
func (*ListProjectMembersResponse) String ¶
func (x *ListProjectMembersResponse) String() string
type ListProjectsFilter ¶
type ListProjectsFilter struct { CreatedFromTimestamp int64 `protobuf:"varint,1,opt,name=created_from_timestamp,json=createdFromTimestamp,proto3" json:"created_from_timestamp,omitempty"` CreatedUntilTimestamp int64 `` /* 127-byte string literal not displayed */ OwnerIds []string `protobuf:"bytes,3,rep,name=owner_ids,json=ownerIds,proto3" json:"owner_ids,omitempty"` Statuses []string `protobuf:"bytes,4,rep,name=statuses,proto3" json:"statuses,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsFilter) Descriptor
deprecated
func (*ListProjectsFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsFilter.ProtoReflect.Descriptor instead.
func (*ListProjectsFilter) GetCreatedFromTimestamp ¶
func (x *ListProjectsFilter) GetCreatedFromTimestamp() int64
func (*ListProjectsFilter) GetCreatedUntilTimestamp ¶
func (x *ListProjectsFilter) GetCreatedUntilTimestamp() int64
func (*ListProjectsFilter) GetOwnerIds ¶
func (x *ListProjectsFilter) GetOwnerIds() []string
func (*ListProjectsFilter) GetStatuses ¶
func (x *ListProjectsFilter) GetStatuses() []string
func (*ListProjectsFilter) ProtoMessage ¶
func (*ListProjectsFilter) ProtoMessage()
func (*ListProjectsFilter) ProtoReflect ¶
func (x *ListProjectsFilter) ProtoReflect() protoreflect.Message
func (*ListProjectsFilter) Reset ¶
func (x *ListProjectsFilter) Reset()
func (*ListProjectsFilter) String ¶
func (x *ListProjectsFilter) String() string
type ListProjectsMemberFilter ¶
type ListProjectsMemberFilter struct { CreatedFromTimestamp int64 `protobuf:"varint,1,opt,name=created_from_timestamp,json=createdFromTimestamp,proto3" json:"created_from_timestamp,omitempty"` CreatedUntilTimestamp int64 `` /* 127-byte string literal not displayed */ Statuses []string `protobuf:"bytes,3,rep,name=statuses,proto3" json:"statuses,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsMemberFilter) Descriptor
deprecated
func (*ListProjectsMemberFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsMemberFilter.ProtoReflect.Descriptor instead.
func (*ListProjectsMemberFilter) GetCreatedFromTimestamp ¶
func (x *ListProjectsMemberFilter) GetCreatedFromTimestamp() int64
func (*ListProjectsMemberFilter) GetCreatedUntilTimestamp ¶
func (x *ListProjectsMemberFilter) GetCreatedUntilTimestamp() int64
func (*ListProjectsMemberFilter) GetStatuses ¶
func (x *ListProjectsMemberFilter) GetStatuses() []string
func (*ListProjectsMemberFilter) ProtoMessage ¶
func (*ListProjectsMemberFilter) ProtoMessage()
func (*ListProjectsMemberFilter) ProtoReflect ¶
func (x *ListProjectsMemberFilter) ProtoReflect() protoreflect.Message
func (*ListProjectsMemberFilter) Reset ¶
func (x *ListProjectsMemberFilter) Reset()
func (*ListProjectsMemberFilter) String ¶
func (x *ListProjectsMemberFilter) String() string
type ListProjectsRequest ¶
type ListProjectsRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` Filter *ListProjectsFilter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsRequest) Descriptor
deprecated
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) GetFilter ¶
func (x *ListProjectsRequest) GetFilter() *ListProjectsFilter
func (*ListProjectsRequest) GetPageSize ¶
func (x *ListProjectsRequest) GetPageSize() int32
func (*ListProjectsRequest) GetPageToken ¶
func (x *ListProjectsRequest) GetPageToken() string
func (*ListProjectsRequest) GetParent ¶
func (x *ListProjectsRequest) GetParent() 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 { NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` Projects []*Project `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"` CollectionCount int32 `protobuf:"varint,3,opt,name=collection_count,json=collectionCount,proto3" json:"collection_count,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsResponse) Descriptor
deprecated
func (*ListProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectsResponse) GetCollectionCount ¶
func (x *ListProjectsResponse) GetCollectionCount() int32
func (*ListProjectsResponse) GetNextPageToken ¶
func (x *ListProjectsResponse) GetNextPageToken() string
func (*ListProjectsResponse) GetProjects ¶
func (x *ListProjectsResponse) GetProjects() []*Project
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 { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` OwnerEmail string `protobuf:"bytes,4,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` OwnerNames string `protobuf:"bytes,5,opt,name=owner_names,json=ownerNames,proto3" json:"owner_names,omitempty"` ProjectName string `protobuf:"bytes,6,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` Scopes []*ProjectScope `protobuf:"bytes,9,rep,name=scopes,proto3" json:"scopes,omitempty"` CreateDate string `protobuf:"bytes,10,opt,name=create_date,json=createDate,proto3" json:"create_date,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetCreateDate ¶
func (*Project) GetDescription ¶
func (*Project) GetOwnerEmail ¶
func (*Project) GetOwnerId ¶
func (*Project) GetOwnerNames ¶
func (*Project) GetProjectId ¶
func (*Project) GetProjectName ¶
func (*Project) GetScopes ¶
func (x *Project) GetScopes() []*ProjectScope
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectAPIClient ¶
type ProjectAPIClient interface { CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*Project, error) UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*Project, error) GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error) DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) CreateProjectMember(ctx context.Context, in *CreateProjectMemberRequest, opts ...grpc.CallOption) (*ProjectMember, error) UpdateProjectMember(ctx context.Context, in *UpdateProjectMemberRequest, opts ...grpc.CallOption) (*ProjectMember, error) DeleteProjectMember(ctx context.Context, in *DeleteProjectMemberRequest, opts ...grpc.CallOption) (*empty.Empty, error) ListProjectMembers(ctx context.Context, in *ListProjectMembersRequest, opts ...grpc.CallOption) (*ListProjectMembersResponse, error) }
ProjectAPIClient is the client API for ProjectAPI 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 NewProjectAPIClient ¶
func NewProjectAPIClient(cc grpc.ClientConnInterface) ProjectAPIClient
type ProjectAPIServer ¶
type ProjectAPIServer interface { CreateProject(context.Context, *CreateProjectRequest) (*Project, error) UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error) GetProject(context.Context, *GetProjectRequest) (*Project, error) DeleteProject(context.Context, *DeleteProjectRequest) (*empty.Empty, error) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) CreateProjectMember(context.Context, *CreateProjectMemberRequest) (*ProjectMember, error) UpdateProjectMember(context.Context, *UpdateProjectMemberRequest) (*ProjectMember, error) DeleteProjectMember(context.Context, *DeleteProjectMemberRequest) (*empty.Empty, error) ListProjectMembers(context.Context, *ListProjectMembersRequest) (*ListProjectMembersResponse, error) // contains filtered or unexported methods }
ProjectAPIServer is the server API for ProjectAPI service. All implementations must embed UnimplementedProjectAPIServer for forward compatibility
type ProjectMember ¶
type ProjectMember struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MemberId string `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` JoinDate string `protobuf:"bytes,5,opt,name=join_date,json=joinDate,proto3" json:"join_date,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` Scopes []*ProjectScope `protobuf:"bytes,7,rep,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
func (*ProjectMember) Descriptor
deprecated
func (*ProjectMember) Descriptor() ([]byte, []int)
Deprecated: Use ProjectMember.ProtoReflect.Descriptor instead.
func (*ProjectMember) GetJoinDate ¶
func (x *ProjectMember) GetJoinDate() string
func (*ProjectMember) GetMemberId ¶
func (x *ProjectMember) GetMemberId() string
func (*ProjectMember) GetName ¶
func (x *ProjectMember) GetName() string
func (*ProjectMember) GetProjectId ¶
func (x *ProjectMember) GetProjectId() string
func (*ProjectMember) GetScopes ¶
func (x *ProjectMember) GetScopes() []*ProjectScope
func (*ProjectMember) GetStatus ¶
func (x *ProjectMember) GetStatus() string
func (*ProjectMember) GetUserId ¶
func (x *ProjectMember) GetUserId() string
func (*ProjectMember) ProtoMessage ¶
func (*ProjectMember) ProtoMessage()
func (*ProjectMember) ProtoReflect ¶
func (x *ProjectMember) ProtoReflect() protoreflect.Message
func (*ProjectMember) Reset ¶
func (x *ProjectMember) Reset()
func (*ProjectMember) String ¶
func (x *ProjectMember) String() string
type ProjectScope ¶
type ProjectScope struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Read bool `protobuf:"varint,2,opt,name=read,proto3" json:"read,omitempty"` Write bool `protobuf:"varint,3,opt,name=write,proto3" json:"write,omitempty"` // contains filtered or unexported fields }
func (*ProjectScope) Descriptor
deprecated
func (*ProjectScope) Descriptor() ([]byte, []int)
Deprecated: Use ProjectScope.ProtoReflect.Descriptor instead.
func (*ProjectScope) GetRead ¶
func (x *ProjectScope) GetRead() bool
func (*ProjectScope) GetService ¶
func (x *ProjectScope) GetService() string
func (*ProjectScope) GetWrite ¶
func (x *ProjectScope) GetWrite() bool
func (*ProjectScope) ProtoMessage ¶
func (*ProjectScope) ProtoMessage()
func (*ProjectScope) ProtoReflect ¶
func (x *ProjectScope) ProtoReflect() protoreflect.Message
func (*ProjectScope) Reset ¶
func (x *ProjectScope) Reset()
func (*ProjectScope) String ¶
func (x *ProjectScope) String() string
type UnimplementedProjectAPIServer ¶
type UnimplementedProjectAPIServer struct { }
UnimplementedProjectAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectAPIServer) CreateProject ¶
func (UnimplementedProjectAPIServer) CreateProject(context.Context, *CreateProjectRequest) (*Project, error)
func (UnimplementedProjectAPIServer) CreateProjectMember ¶
func (UnimplementedProjectAPIServer) CreateProjectMember(context.Context, *CreateProjectMemberRequest) (*ProjectMember, error)
func (UnimplementedProjectAPIServer) DeleteProject ¶
func (UnimplementedProjectAPIServer) DeleteProject(context.Context, *DeleteProjectRequest) (*empty.Empty, error)
func (UnimplementedProjectAPIServer) DeleteProjectMember ¶
func (UnimplementedProjectAPIServer) DeleteProjectMember(context.Context, *DeleteProjectMemberRequest) (*empty.Empty, error)
func (UnimplementedProjectAPIServer) GetProject ¶
func (UnimplementedProjectAPIServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
func (UnimplementedProjectAPIServer) ListProjectMembers ¶
func (UnimplementedProjectAPIServer) ListProjectMembers(context.Context, *ListProjectMembersRequest) (*ListProjectMembersResponse, error)
func (UnimplementedProjectAPIServer) ListProjects ¶
func (UnimplementedProjectAPIServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
func (UnimplementedProjectAPIServer) UpdateProject ¶
func (UnimplementedProjectAPIServer) UpdateProject(context.Context, *UpdateProjectRequest) (*Project, error)
func (UnimplementedProjectAPIServer) UpdateProjectMember ¶
func (UnimplementedProjectAPIServer) UpdateProjectMember(context.Context, *UpdateProjectMemberRequest) (*ProjectMember, error)
type UnsafeProjectAPIServer ¶
type UnsafeProjectAPIServer interface {
// contains filtered or unexported methods
}
UnsafeProjectAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectAPIServer will result in compilation errors.
type UpdateProjectMemberRequest ¶
type UpdateProjectMemberRequest struct { ProjectMember *ProjectMember `protobuf:"bytes,1,opt,name=project_member,json=projectMember,proto3" json:"project_member,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectMemberRequest) Descriptor
deprecated
func (*UpdateProjectMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectMemberRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectMemberRequest) GetProjectMember ¶
func (x *UpdateProjectMemberRequest) GetProjectMember() *ProjectMember
func (*UpdateProjectMemberRequest) ProtoMessage ¶
func (*UpdateProjectMemberRequest) ProtoMessage()
func (*UpdateProjectMemberRequest) ProtoReflect ¶
func (x *UpdateProjectMemberRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectMemberRequest) Reset ¶
func (x *UpdateProjectMemberRequest) Reset()
func (*UpdateProjectMemberRequest) String ¶
func (x *UpdateProjectMemberRequest) String() string
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectRequest) Descriptor
deprecated
func (*UpdateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectRequest) GetProject ¶
func (x *UpdateProjectRequest) GetProject() *Project
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