mirror of https://github.com/hashicorp/boundary
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
708 lines
29 KiB
708 lines
29 KiB
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.10
|
|
// protoc (unknown)
|
|
// source: controller/api/services/v1/managed_group_service.proto
|
|
|
|
package services
|
|
|
|
import (
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
|
managedgroups "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/managedgroups"
|
|
_ "github.com/hashicorp/boundary/sdk/pbs/controller/protooptions"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type GetManagedGroupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetManagedGroupRequest) Reset() {
|
|
*x = GetManagedGroupRequest{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetManagedGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetManagedGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *GetManagedGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetManagedGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetManagedGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GetManagedGroupRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetManagedGroupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *managedgroups.ManagedGroup `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetManagedGroupResponse) Reset() {
|
|
*x = GetManagedGroupResponse{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetManagedGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetManagedGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *GetManagedGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetManagedGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetManagedGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GetManagedGroupResponse) GetItem() *managedgroups.ManagedGroup {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListManagedGroupsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AuthMethodId string `protobuf:"bytes,1,opt,name=auth_method_id,proto3" json:"auth_method_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
// You can specify that the filter should only return items that match.
|
|
// Refer to [filter expressions](https://developer.hashicorp.com/boundary/docs/concepts/filtering) for more information.
|
|
Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// An opaque token that Boundary uses to continue an existing iteration or
|
|
// request updated items. If you do not specify a token, pagination
|
|
// starts from the beginning. To learn more about list pagination
|
|
// in Boundary, refer to [list pagination](https://developer.hashicorp.com/boundary/docs/api-clients/api/pagination).
|
|
ListToken string `protobuf:"bytes,40,opt,name=list_token,proto3" json:"list_token,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// The maximum size of a page in this iteration.
|
|
// If unset, the default page size configured will be used.
|
|
// If the page_size is greater than the default page configured,
|
|
// the page size will be truncated to this number..
|
|
PageSize uint32 `protobuf:"varint,50,opt,name=page_size,proto3" json:"page_size,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListManagedGroupsRequest) Reset() {
|
|
*x = ListManagedGroupsRequest{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListManagedGroupsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListManagedGroupsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListManagedGroupsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListManagedGroupsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListManagedGroupsRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListManagedGroupsRequest) GetAuthMethodId() string {
|
|
if x != nil {
|
|
return x.AuthMethodId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListManagedGroupsRequest) GetFilter() string {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListManagedGroupsRequest) GetListToken() string {
|
|
if x != nil {
|
|
return x.ListToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListManagedGroupsRequest) GetPageSize() uint32 {
|
|
if x != nil {
|
|
return x.PageSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListManagedGroupsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*managedgroups.ManagedGroup `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
// The type of response, either "delta" or "complete".
|
|
// Delta signifies that this is part of a paginated result
|
|
// or an update to a previously completed pagination.
|
|
// Complete signifies that it is the last page.
|
|
ResponseType string `protobuf:"bytes,2,opt,name=response_type,proto3" json:"response_type,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// An opaque token used to continue an existing pagination or
|
|
// request updated items. Use this token in the next list request
|
|
// to request the next page.
|
|
ListToken string `protobuf:"bytes,3,opt,name=list_token,proto3" json:"list_token,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// The name of the field which the items are sorted by.
|
|
SortBy string `protobuf:"bytes,4,opt,name=sort_by,proto3" json:"sort_by,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// The direction of the sort, either "asc" or "desc".
|
|
SortDir string `protobuf:"bytes,5,opt,name=sort_dir,proto3" json:"sort_dir,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// A list of item IDs that have been removed since they were returned
|
|
// as part of a pagination. They should be dropped from any client cache.
|
|
// This may contain items that are not known to the cache, if they were
|
|
// created and deleted between listings.
|
|
RemovedIds []string `protobuf:"bytes,6,rep,name=removed_ids,proto3" json:"removed_ids,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
// An estimate at the total items available. This may change during pagination.
|
|
EstItemCount uint32 `protobuf:"varint,7,opt,name=est_item_count,proto3" json:"est_item_count,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) Reset() {
|
|
*x = ListManagedGroupsResponse{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListManagedGroupsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListManagedGroupsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListManagedGroupsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListManagedGroupsResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) GetItems() []*managedgroups.ManagedGroup {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) GetResponseType() string {
|
|
if x != nil {
|
|
return x.ResponseType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) GetListToken() string {
|
|
if x != nil {
|
|
return x.ListToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) GetSortBy() string {
|
|
if x != nil {
|
|
return x.SortBy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) GetSortDir() string {
|
|
if x != nil {
|
|
return x.SortDir
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) GetRemovedIds() []string {
|
|
if x != nil {
|
|
return x.RemovedIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListManagedGroupsResponse) GetEstItemCount() uint32 {
|
|
if x != nil {
|
|
return x.EstItemCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateManagedGroupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *managedgroups.ManagedGroup `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateManagedGroupRequest) Reset() {
|
|
*x = CreateManagedGroupRequest{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateManagedGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateManagedGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateManagedGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateManagedGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateManagedGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CreateManagedGroupRequest) GetItem() *managedgroups.ManagedGroup {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateManagedGroupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty" class:"public"` // @gotags: `class:"public"`
|
|
Item *managedgroups.ManagedGroup `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateManagedGroupResponse) Reset() {
|
|
*x = CreateManagedGroupResponse{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateManagedGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateManagedGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateManagedGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateManagedGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateManagedGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CreateManagedGroupResponse) GetUri() string {
|
|
if x != nil {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateManagedGroupResponse) GetItem() *managedgroups.ManagedGroup {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateManagedGroupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
Item *managedgroups.ManagedGroup `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
|
|
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,proto3" json:"update_mask,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateManagedGroupRequest) Reset() {
|
|
*x = UpdateManagedGroupRequest{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateManagedGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateManagedGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateManagedGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateManagedGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateManagedGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *UpdateManagedGroupRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateManagedGroupRequest) GetItem() *managedgroups.ManagedGroup {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateManagedGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
|
|
if x != nil {
|
|
return x.UpdateMask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateManagedGroupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *managedgroups.ManagedGroup `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateManagedGroupResponse) Reset() {
|
|
*x = UpdateManagedGroupResponse{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateManagedGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateManagedGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateManagedGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateManagedGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateManagedGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *UpdateManagedGroupResponse) GetItem() *managedgroups.ManagedGroup {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteManagedGroupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteManagedGroupRequest) Reset() {
|
|
*x = DeleteManagedGroupRequest{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteManagedGroupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteManagedGroupRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteManagedGroupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteManagedGroupRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteManagedGroupRequest) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DeleteManagedGroupRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteManagedGroupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteManagedGroupResponse) Reset() {
|
|
*x = DeleteManagedGroupResponse{}
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteManagedGroupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteManagedGroupResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteManagedGroupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_controller_api_services_v1_managed_group_service_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteManagedGroupResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteManagedGroupResponse) Descriptor() ([]byte, []int) {
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
var File_controller_api_services_v1_managed_group_service_proto protoreflect.FileDescriptor
|
|
|
|
const file_controller_api_services_v1_managed_group_service_proto_rawDesc = "" +
|
|
"\n" +
|
|
"6controller/api/services/v1/managed_group_service.proto\x12\x1acontroller.api.services.v1\x1a=controller/api/resources/managedgroups/v1/managed_group.proto\x1a*controller/custom_options/v1/options.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"(\n" +
|
|
"\x16GetManagedGroupRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"f\n" +
|
|
"\x17GetManagedGroupResponse\x12K\n" +
|
|
"\x04item\x18\x01 \x01(\v27.controller.api.resources.managedgroups.v1.ManagedGroupR\x04item\"\x98\x01\n" +
|
|
"\x18ListManagedGroupsRequest\x12&\n" +
|
|
"\x0eauth_method_id\x18\x01 \x01(\tR\x0eauth_method_id\x12\x16\n" +
|
|
"\x06filter\x18\x1e \x01(\tR\x06filter\x12\x1e\n" +
|
|
"\n" +
|
|
"list_token\x18( \x01(\tR\n" +
|
|
"list_token\x12\x1c\n" +
|
|
"\tpage_size\x182 \x01(\rR\tpage_size\"\xb0\x02\n" +
|
|
"\x19ListManagedGroupsResponse\x12M\n" +
|
|
"\x05items\x18\x01 \x03(\v27.controller.api.resources.managedgroups.v1.ManagedGroupR\x05items\x12$\n" +
|
|
"\rresponse_type\x18\x02 \x01(\tR\rresponse_type\x12\x1e\n" +
|
|
"\n" +
|
|
"list_token\x18\x03 \x01(\tR\n" +
|
|
"list_token\x12\x18\n" +
|
|
"\asort_by\x18\x04 \x01(\tR\asort_by\x12\x1a\n" +
|
|
"\bsort_dir\x18\x05 \x01(\tR\bsort_dir\x12 \n" +
|
|
"\vremoved_ids\x18\x06 \x03(\tR\vremoved_ids\x12&\n" +
|
|
"\x0eest_item_count\x18\a \x01(\rR\x0eest_item_count\"h\n" +
|
|
"\x19CreateManagedGroupRequest\x12K\n" +
|
|
"\x04item\x18\x02 \x01(\v27.controller.api.resources.managedgroups.v1.ManagedGroupR\x04item\"{\n" +
|
|
"\x1aCreateManagedGroupResponse\x12\x10\n" +
|
|
"\x03uri\x18\x01 \x01(\tR\x03uri\x12K\n" +
|
|
"\x04item\x18\x02 \x01(\v27.controller.api.resources.managedgroups.v1.ManagedGroupR\x04item\"\xb6\x01\n" +
|
|
"\x19UpdateManagedGroupRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12K\n" +
|
|
"\x04item\x18\x02 \x01(\v27.controller.api.resources.managedgroups.v1.ManagedGroupR\x04item\x12<\n" +
|
|
"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\vupdate_mask\"i\n" +
|
|
"\x1aUpdateManagedGroupResponse\x12K\n" +
|
|
"\x04item\x18\x01 \x01(\v27.controller.api.resources.managedgroups.v1.ManagedGroupR\x04item\"+\n" +
|
|
"\x19DeleteManagedGroupRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"\x1c\n" +
|
|
"\x1aDeleteManagedGroupResponse2\x9c\v\n" +
|
|
"\x13ManagedGroupService\x12\xc1\x01\n" +
|
|
"\x0fGetManagedGroup\x122.controller.api.services.v1.GetManagedGroupRequest\x1a3.controller.api.services.v1.GetManagedGroupResponse\"E\x92A\x1d\x12\x1bGets a single ManagedGroup.\x82\xd3\xe4\x93\x02\x1fb\x04item\x12\x17/v1/managed-groups/{id}\x12\xd3\x01\n" +
|
|
"\x11ListManagedGroups\x124.controller.api.services.v1.ListManagedGroupsRequest\x1a5.controller.api.services.v1.ListManagedGroupsResponse\"Q\x92A4\x122Lists all ManagedGroups in a specific Auth Method.\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/managed-groups\x12\xea\x01\n" +
|
|
"\x12CreateManagedGroup\x125.controller.api.services.v1.CreateManagedGroupRequest\x1a6.controller.api.services.v1.CreateManagedGroupResponse\"e\x92A<\x12:Creates a single ManagedGroup in the provided Auth Method.\x82\xd3\xe4\x93\x02 :\x04itemb\x04item\"\x12/v1/managed-groups\x12\xcc\x01\n" +
|
|
"\x12UpdateManagedGroup\x125.controller.api.services.v1.UpdateManagedGroupRequest\x1a6.controller.api.services.v1.UpdateManagedGroupResponse\"G\x92A\x19\x12\x17Updates a ManagedGroup.\x82\xd3\xe4\x93\x02%:\x04itemb\x04item2\x17/v1/managed-groups/{id}\x12\xc0\x01\n" +
|
|
"\x12DeleteManagedGroup\x125.controller.api.services.v1.DeleteManagedGroupRequest\x1a6.controller.api.services.v1.DeleteManagedGroupResponse\";\x92A\x19\x12\x17Deletes a ManagedGroup.\x82\xd3\xe4\x93\x02\x19*\x17/v1/managed-groups/{id}\x1a\xeb\x02\x92A\xe7\x02\n" +
|
|
"\x15Managed group service\x12\xbe\x01A managed group is a resource that represents a collection of accounts. The managed group service provides endpoints for creating, reading, updating, and deleting managed groups in Boundary.\x1a\x8c\x01\n" +
|
|
"6Read about managed groups in the Boundary domain model\x12Rhttps://developer.hashicorp.com/boundary/docs/concepts/domain-model/managed-groupsBU\xa2\xe3)\x04authZKgithub.com/hashicorp/boundary/internal/gen/controller/api/services;servicesb\x06proto3"
|
|
|
|
var (
|
|
file_controller_api_services_v1_managed_group_service_proto_rawDescOnce sync.Once
|
|
file_controller_api_services_v1_managed_group_service_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_controller_api_services_v1_managed_group_service_proto_rawDescGZIP() []byte {
|
|
file_controller_api_services_v1_managed_group_service_proto_rawDescOnce.Do(func() {
|
|
file_controller_api_services_v1_managed_group_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_managed_group_service_proto_rawDesc), len(file_controller_api_services_v1_managed_group_service_proto_rawDesc)))
|
|
})
|
|
return file_controller_api_services_v1_managed_group_service_proto_rawDescData
|
|
}
|
|
|
|
var file_controller_api_services_v1_managed_group_service_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_controller_api_services_v1_managed_group_service_proto_goTypes = []any{
|
|
(*GetManagedGroupRequest)(nil), // 0: controller.api.services.v1.GetManagedGroupRequest
|
|
(*GetManagedGroupResponse)(nil), // 1: controller.api.services.v1.GetManagedGroupResponse
|
|
(*ListManagedGroupsRequest)(nil), // 2: controller.api.services.v1.ListManagedGroupsRequest
|
|
(*ListManagedGroupsResponse)(nil), // 3: controller.api.services.v1.ListManagedGroupsResponse
|
|
(*CreateManagedGroupRequest)(nil), // 4: controller.api.services.v1.CreateManagedGroupRequest
|
|
(*CreateManagedGroupResponse)(nil), // 5: controller.api.services.v1.CreateManagedGroupResponse
|
|
(*UpdateManagedGroupRequest)(nil), // 6: controller.api.services.v1.UpdateManagedGroupRequest
|
|
(*UpdateManagedGroupResponse)(nil), // 7: controller.api.services.v1.UpdateManagedGroupResponse
|
|
(*DeleteManagedGroupRequest)(nil), // 8: controller.api.services.v1.DeleteManagedGroupRequest
|
|
(*DeleteManagedGroupResponse)(nil), // 9: controller.api.services.v1.DeleteManagedGroupResponse
|
|
(*managedgroups.ManagedGroup)(nil), // 10: controller.api.resources.managedgroups.v1.ManagedGroup
|
|
(*fieldmaskpb.FieldMask)(nil), // 11: google.protobuf.FieldMask
|
|
}
|
|
var file_controller_api_services_v1_managed_group_service_proto_depIdxs = []int32{
|
|
10, // 0: controller.api.services.v1.GetManagedGroupResponse.item:type_name -> controller.api.resources.managedgroups.v1.ManagedGroup
|
|
10, // 1: controller.api.services.v1.ListManagedGroupsResponse.items:type_name -> controller.api.resources.managedgroups.v1.ManagedGroup
|
|
10, // 2: controller.api.services.v1.CreateManagedGroupRequest.item:type_name -> controller.api.resources.managedgroups.v1.ManagedGroup
|
|
10, // 3: controller.api.services.v1.CreateManagedGroupResponse.item:type_name -> controller.api.resources.managedgroups.v1.ManagedGroup
|
|
10, // 4: controller.api.services.v1.UpdateManagedGroupRequest.item:type_name -> controller.api.resources.managedgroups.v1.ManagedGroup
|
|
11, // 5: controller.api.services.v1.UpdateManagedGroupRequest.update_mask:type_name -> google.protobuf.FieldMask
|
|
10, // 6: controller.api.services.v1.UpdateManagedGroupResponse.item:type_name -> controller.api.resources.managedgroups.v1.ManagedGroup
|
|
0, // 7: controller.api.services.v1.ManagedGroupService.GetManagedGroup:input_type -> controller.api.services.v1.GetManagedGroupRequest
|
|
2, // 8: controller.api.services.v1.ManagedGroupService.ListManagedGroups:input_type -> controller.api.services.v1.ListManagedGroupsRequest
|
|
4, // 9: controller.api.services.v1.ManagedGroupService.CreateManagedGroup:input_type -> controller.api.services.v1.CreateManagedGroupRequest
|
|
6, // 10: controller.api.services.v1.ManagedGroupService.UpdateManagedGroup:input_type -> controller.api.services.v1.UpdateManagedGroupRequest
|
|
8, // 11: controller.api.services.v1.ManagedGroupService.DeleteManagedGroup:input_type -> controller.api.services.v1.DeleteManagedGroupRequest
|
|
1, // 12: controller.api.services.v1.ManagedGroupService.GetManagedGroup:output_type -> controller.api.services.v1.GetManagedGroupResponse
|
|
3, // 13: controller.api.services.v1.ManagedGroupService.ListManagedGroups:output_type -> controller.api.services.v1.ListManagedGroupsResponse
|
|
5, // 14: controller.api.services.v1.ManagedGroupService.CreateManagedGroup:output_type -> controller.api.services.v1.CreateManagedGroupResponse
|
|
7, // 15: controller.api.services.v1.ManagedGroupService.UpdateManagedGroup:output_type -> controller.api.services.v1.UpdateManagedGroupResponse
|
|
9, // 16: controller.api.services.v1.ManagedGroupService.DeleteManagedGroup:output_type -> controller.api.services.v1.DeleteManagedGroupResponse
|
|
12, // [12:17] is the sub-list for method output_type
|
|
7, // [7:12] is the sub-list for method input_type
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
0, // [0:7] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_controller_api_services_v1_managed_group_service_proto_init() }
|
|
func file_controller_api_services_v1_managed_group_service_proto_init() {
|
|
if File_controller_api_services_v1_managed_group_service_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_services_v1_managed_group_service_proto_rawDesc), len(file_controller_api_services_v1_managed_group_service_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_controller_api_services_v1_managed_group_service_proto_goTypes,
|
|
DependencyIndexes: file_controller_api_services_v1_managed_group_service_proto_depIdxs,
|
|
MessageInfos: file_controller_api_services_v1_managed_group_service_proto_msgTypes,
|
|
}.Build()
|
|
File_controller_api_services_v1_managed_group_service_proto = out.File
|
|
file_controller_api_services_v1_managed_group_service_proto_goTypes = nil
|
|
file_controller_api_services_v1_managed_group_service_proto_depIdxs = nil
|
|
}
|