Documentation ¶
Overview ¶
Package resourcemapping is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterResourceMappingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterResourceMappingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterResourceMappingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterResourceMappingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterResourceMappingServiceServer(s grpc.ServiceRegistrar, srv ResourceMappingServiceServer)
- type CreateResourceMappingRequest
- func (*CreateResourceMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceMappingRequest) GetAttributeValueId() string
- func (x *CreateResourceMappingRequest) GetMetadata() *common.MetadataMutable
- func (x *CreateResourceMappingRequest) GetTerms() []string
- func (*CreateResourceMappingRequest) ProtoMessage()
- func (x *CreateResourceMappingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceMappingRequest) Reset()
- func (x *CreateResourceMappingRequest) String() string
- type CreateResourceMappingResponse
- func (*CreateResourceMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
- func (*CreateResourceMappingResponse) ProtoMessage()
- func (x *CreateResourceMappingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResourceMappingResponse) Reset()
- func (x *CreateResourceMappingResponse) String() string
- type DeleteResourceMappingRequest
- func (*DeleteResourceMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceMappingRequest) GetId() string
- func (*DeleteResourceMappingRequest) ProtoMessage()
- func (x *DeleteResourceMappingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceMappingRequest) Reset()
- func (x *DeleteResourceMappingRequest) String() string
- type DeleteResourceMappingResponse
- func (*DeleteResourceMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
- func (*DeleteResourceMappingResponse) ProtoMessage()
- func (x *DeleteResourceMappingResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceMappingResponse) Reset()
- func (x *DeleteResourceMappingResponse) String() string
- type GetResourceMappingRequest
- func (*GetResourceMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceMappingRequest) GetId() string
- func (*GetResourceMappingRequest) ProtoMessage()
- func (x *GetResourceMappingRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceMappingRequest) Reset()
- func (x *GetResourceMappingRequest) String() string
- type GetResourceMappingResponse
- func (*GetResourceMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
- func (*GetResourceMappingResponse) ProtoMessage()
- func (x *GetResourceMappingResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourceMappingResponse) Reset()
- func (x *GetResourceMappingResponse) String() string
- type ListResourceMappingsRequest
- type ListResourceMappingsResponse
- func (*ListResourceMappingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceMappingsResponse) GetResourceMappings() []*policy.ResourceMapping
- func (*ListResourceMappingsResponse) ProtoMessage()
- func (x *ListResourceMappingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceMappingsResponse) Reset()
- func (x *ListResourceMappingsResponse) String() string
- type ResourceMappingServiceClient
- type ResourceMappingServiceServer
- type UnimplementedResourceMappingServiceServer
- func (UnimplementedResourceMappingServiceServer) CreateResourceMapping(context.Context, *CreateResourceMappingRequest) (*CreateResourceMappingResponse, error)
- func (UnimplementedResourceMappingServiceServer) DeleteResourceMapping(context.Context, *DeleteResourceMappingRequest) (*DeleteResourceMappingResponse, error)
- func (UnimplementedResourceMappingServiceServer) GetResourceMapping(context.Context, *GetResourceMappingRequest) (*GetResourceMappingResponse, error)
- func (UnimplementedResourceMappingServiceServer) ListResourceMappings(context.Context, *ListResourceMappingsRequest) (*ListResourceMappingsResponse, error)
- func (UnimplementedResourceMappingServiceServer) UpdateResourceMapping(context.Context, *UpdateResourceMappingRequest) (*UpdateResourceMappingResponse, error)
- type UnsafeResourceMappingServiceServer
- type UpdateResourceMappingRequest
- func (*UpdateResourceMappingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceMappingRequest) GetAttributeValueId() string
- func (x *UpdateResourceMappingRequest) GetId() string
- func (x *UpdateResourceMappingRequest) GetMetadata() *common.MetadataMutable
- func (x *UpdateResourceMappingRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
- func (x *UpdateResourceMappingRequest) GetTerms() []string
- func (*UpdateResourceMappingRequest) ProtoMessage()
- func (x *UpdateResourceMappingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceMappingRequest) Reset()
- func (x *UpdateResourceMappingRequest) String() string
- type UpdateResourceMappingResponse
- func (*UpdateResourceMappingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
- func (*UpdateResourceMappingResponse) ProtoMessage()
- func (x *UpdateResourceMappingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceMappingResponse) Reset()
- func (x *UpdateResourceMappingResponse) String() string
Constants ¶
const ( ResourceMappingService_ListResourceMappings_FullMethodName = "/policy.resourcemapping.ResourceMappingService/ListResourceMappings" ResourceMappingService_GetResourceMapping_FullMethodName = "/policy.resourcemapping.ResourceMappingService/GetResourceMapping" ResourceMappingService_CreateResourceMapping_FullMethodName = "/policy.resourcemapping.ResourceMappingService/CreateResourceMapping" ResourceMappingService_UpdateResourceMapping_FullMethodName = "/policy.resourcemapping.ResourceMappingService/UpdateResourceMapping" ResourceMappingService_DeleteResourceMapping_FullMethodName = "/policy.resourcemapping.ResourceMappingService/DeleteResourceMapping" )
Variables ¶
var File_policy_resourcemapping_resource_mapping_proto protoreflect.FileDescriptor
var ResourceMappingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "policy.resourcemapping.ResourceMappingService", HandlerType: (*ResourceMappingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListResourceMappings", Handler: _ResourceMappingService_ListResourceMappings_Handler, }, { MethodName: "GetResourceMapping", Handler: _ResourceMappingService_GetResourceMapping_Handler, }, { MethodName: "CreateResourceMapping", Handler: _ResourceMappingService_CreateResourceMapping_Handler, }, { MethodName: "UpdateResourceMapping", Handler: _ResourceMappingService_UpdateResourceMapping_Handler, }, { MethodName: "DeleteResourceMapping", Handler: _ResourceMappingService_DeleteResourceMapping_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "policy/resourcemapping/resource_mapping.proto", }
ResourceMappingService_ServiceDesc is the grpc.ServiceDesc for ResourceMappingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterResourceMappingServiceHandler ¶
func RegisterResourceMappingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterResourceMappingServiceHandler registers the http handlers for service ResourceMappingService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterResourceMappingServiceHandlerClient ¶
func RegisterResourceMappingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ResourceMappingServiceClient) error
RegisterResourceMappingServiceHandlerClient registers the http handlers for service ResourceMappingService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ResourceMappingServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ResourceMappingServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ResourceMappingServiceClient" to call the correct interceptors.
func RegisterResourceMappingServiceHandlerFromEndpoint ¶
func RegisterResourceMappingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterResourceMappingServiceHandlerFromEndpoint is same as RegisterResourceMappingServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterResourceMappingServiceHandlerServer ¶
func RegisterResourceMappingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ResourceMappingServiceServer) error
RegisterResourceMappingServiceHandlerServer registers the http handlers for service ResourceMappingService to "mux". UnaryRPC :call ResourceMappingServiceServer 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 RegisterResourceMappingServiceHandlerFromEndpoint instead.
func RegisterResourceMappingServiceServer ¶
func RegisterResourceMappingServiceServer(s grpc.ServiceRegistrar, srv ResourceMappingServiceServer)
Types ¶
type CreateResourceMappingRequest ¶
type CreateResourceMappingRequest struct { // Required AttributeValueId string `protobuf:"bytes,1,opt,name=attribute_value_id,json=attributeValueId,proto3" json:"attribute_value_id,omitempty"` Terms []string `protobuf:"bytes,2,rep,name=terms,proto3" json:"terms,omitempty"` // Optional Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
### Request
grpcurl -plaintext -d @ localhost:8080 policy.resourcemapping.ResourceMappingService/CreateResourceMapping <<EOM { "mapping": { "name": "Classification", "attribute_value_id": "12345678-1234-1234-1234-123456789012", "terms": ["CONFIDENTIAL", "CONTROLLED UNCLASSIFIED", "OFFICIAL-SENSITIVE", "CUI", "C"] } } EOM
### Response
{ "mapping": { "metadata": { "id": "12345678-1234-1234-1234-123456789012", "created_at": "2020-01-01T00:00:00Z", "updated_at": "2020-01-01T00:00:00Z" }, "name": "Classification", "attribute_value_id": "12345678-1234-1234-1234-123456789012", "terms": ["CONFIDENTIAL", "CONTROLLED UNCLASSIFIED", "OFFICIAL-SENSITIVE", "CUI", "C"] } }
func (*CreateResourceMappingRequest) Descriptor
deprecated
func (*CreateResourceMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceMappingRequest.ProtoReflect.Descriptor instead.
func (*CreateResourceMappingRequest) GetAttributeValueId ¶
func (x *CreateResourceMappingRequest) GetAttributeValueId() string
func (*CreateResourceMappingRequest) GetMetadata ¶
func (x *CreateResourceMappingRequest) GetMetadata() *common.MetadataMutable
func (*CreateResourceMappingRequest) GetTerms ¶
func (x *CreateResourceMappingRequest) GetTerms() []string
func (*CreateResourceMappingRequest) ProtoMessage ¶
func (*CreateResourceMappingRequest) ProtoMessage()
func (*CreateResourceMappingRequest) ProtoReflect ¶
func (x *CreateResourceMappingRequest) ProtoReflect() protoreflect.Message
func (*CreateResourceMappingRequest) Reset ¶
func (x *CreateResourceMappingRequest) Reset()
func (*CreateResourceMappingRequest) String ¶
func (x *CreateResourceMappingRequest) String() string
type CreateResourceMappingResponse ¶
type CreateResourceMappingResponse struct { ResourceMapping *policy.ResourceMapping `protobuf:"bytes,1,opt,name=resource_mapping,json=resourceMapping,proto3" json:"resource_mapping,omitempty"` // contains filtered or unexported fields }
func (*CreateResourceMappingResponse) Descriptor
deprecated
func (*CreateResourceMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResourceMappingResponse.ProtoReflect.Descriptor instead.
func (*CreateResourceMappingResponse) GetResourceMapping ¶
func (x *CreateResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
func (*CreateResourceMappingResponse) ProtoMessage ¶
func (*CreateResourceMappingResponse) ProtoMessage()
func (*CreateResourceMappingResponse) ProtoReflect ¶
func (x *CreateResourceMappingResponse) ProtoReflect() protoreflect.Message
func (*CreateResourceMappingResponse) Reset ¶
func (x *CreateResourceMappingResponse) Reset()
func (*CreateResourceMappingResponse) String ¶
func (x *CreateResourceMappingResponse) String() string
type DeleteResourceMappingRequest ¶
type DeleteResourceMappingRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceMappingRequest) Descriptor
deprecated
func (*DeleteResourceMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceMappingRequest.ProtoReflect.Descriptor instead.
func (*DeleteResourceMappingRequest) GetId ¶
func (x *DeleteResourceMappingRequest) GetId() string
func (*DeleteResourceMappingRequest) ProtoMessage ¶
func (*DeleteResourceMappingRequest) ProtoMessage()
func (*DeleteResourceMappingRequest) ProtoReflect ¶
func (x *DeleteResourceMappingRequest) ProtoReflect() protoreflect.Message
func (*DeleteResourceMappingRequest) Reset ¶
func (x *DeleteResourceMappingRequest) Reset()
func (*DeleteResourceMappingRequest) String ¶
func (x *DeleteResourceMappingRequest) String() string
type DeleteResourceMappingResponse ¶
type DeleteResourceMappingResponse struct { ResourceMapping *policy.ResourceMapping `protobuf:"bytes,1,opt,name=resource_mapping,json=resourceMapping,proto3" json:"resource_mapping,omitempty"` // contains filtered or unexported fields }
func (*DeleteResourceMappingResponse) Descriptor
deprecated
func (*DeleteResourceMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResourceMappingResponse.ProtoReflect.Descriptor instead.
func (*DeleteResourceMappingResponse) GetResourceMapping ¶
func (x *DeleteResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
func (*DeleteResourceMappingResponse) ProtoMessage ¶
func (*DeleteResourceMappingResponse) ProtoMessage()
func (*DeleteResourceMappingResponse) ProtoReflect ¶
func (x *DeleteResourceMappingResponse) ProtoReflect() protoreflect.Message
func (*DeleteResourceMappingResponse) Reset ¶
func (x *DeleteResourceMappingResponse) Reset()
func (*DeleteResourceMappingResponse) String ¶
func (x *DeleteResourceMappingResponse) String() string
type GetResourceMappingRequest ¶
type GetResourceMappingRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetResourceMappingRequest) Descriptor
deprecated
func (*GetResourceMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceMappingRequest.ProtoReflect.Descriptor instead.
func (*GetResourceMappingRequest) GetId ¶
func (x *GetResourceMappingRequest) GetId() string
func (*GetResourceMappingRequest) ProtoMessage ¶
func (*GetResourceMappingRequest) ProtoMessage()
func (*GetResourceMappingRequest) ProtoReflect ¶
func (x *GetResourceMappingRequest) ProtoReflect() protoreflect.Message
func (*GetResourceMappingRequest) Reset ¶
func (x *GetResourceMappingRequest) Reset()
func (*GetResourceMappingRequest) String ¶
func (x *GetResourceMappingRequest) String() string
type GetResourceMappingResponse ¶
type GetResourceMappingResponse struct { ResourceMapping *policy.ResourceMapping `protobuf:"bytes,1,opt,name=resource_mapping,json=resourceMapping,proto3" json:"resource_mapping,omitempty"` // contains filtered or unexported fields }
func (*GetResourceMappingResponse) Descriptor
deprecated
func (*GetResourceMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourceMappingResponse.ProtoReflect.Descriptor instead.
func (*GetResourceMappingResponse) GetResourceMapping ¶
func (x *GetResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
func (*GetResourceMappingResponse) ProtoMessage ¶
func (*GetResourceMappingResponse) ProtoMessage()
func (*GetResourceMappingResponse) ProtoReflect ¶
func (x *GetResourceMappingResponse) ProtoReflect() protoreflect.Message
func (*GetResourceMappingResponse) Reset ¶
func (x *GetResourceMappingResponse) Reset()
func (*GetResourceMappingResponse) String ¶
func (x *GetResourceMappingResponse) String() string
type ListResourceMappingsRequest ¶
type ListResourceMappingsRequest struct {
// contains filtered or unexported fields
}
func (*ListResourceMappingsRequest) Descriptor
deprecated
func (*ListResourceMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceMappingsRequest.ProtoReflect.Descriptor instead.
func (*ListResourceMappingsRequest) ProtoMessage ¶
func (*ListResourceMappingsRequest) ProtoMessage()
func (*ListResourceMappingsRequest) ProtoReflect ¶
func (x *ListResourceMappingsRequest) ProtoReflect() protoreflect.Message
func (*ListResourceMappingsRequest) Reset ¶
func (x *ListResourceMappingsRequest) Reset()
func (*ListResourceMappingsRequest) String ¶
func (x *ListResourceMappingsRequest) String() string
type ListResourceMappingsResponse ¶
type ListResourceMappingsResponse struct { ResourceMappings []*policy.ResourceMapping `protobuf:"bytes,1,rep,name=resource_mappings,json=resourceMappings,proto3" json:"resource_mappings,omitempty"` // contains filtered or unexported fields }
func (*ListResourceMappingsResponse) Descriptor
deprecated
func (*ListResourceMappingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResourceMappingsResponse.ProtoReflect.Descriptor instead.
func (*ListResourceMappingsResponse) GetResourceMappings ¶
func (x *ListResourceMappingsResponse) GetResourceMappings() []*policy.ResourceMapping
func (*ListResourceMappingsResponse) ProtoMessage ¶
func (*ListResourceMappingsResponse) ProtoMessage()
func (*ListResourceMappingsResponse) ProtoReflect ¶
func (x *ListResourceMappingsResponse) ProtoReflect() protoreflect.Message
func (*ListResourceMappingsResponse) Reset ¶
func (x *ListResourceMappingsResponse) Reset()
func (*ListResourceMappingsResponse) String ¶
func (x *ListResourceMappingsResponse) String() string
type ResourceMappingServiceClient ¶
type ResourceMappingServiceClient interface { ListResourceMappings(ctx context.Context, in *ListResourceMappingsRequest, opts ...grpc.CallOption) (*ListResourceMappingsResponse, error) GetResourceMapping(ctx context.Context, in *GetResourceMappingRequest, opts ...grpc.CallOption) (*GetResourceMappingResponse, error) CreateResourceMapping(ctx context.Context, in *CreateResourceMappingRequest, opts ...grpc.CallOption) (*CreateResourceMappingResponse, error) UpdateResourceMapping(ctx context.Context, in *UpdateResourceMappingRequest, opts ...grpc.CallOption) (*UpdateResourceMappingResponse, error) DeleteResourceMapping(ctx context.Context, in *DeleteResourceMappingRequest, opts ...grpc.CallOption) (*DeleteResourceMappingResponse, error) }
ResourceMappingServiceClient is the client API for ResourceMappingService 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 NewResourceMappingServiceClient ¶
func NewResourceMappingServiceClient(cc grpc.ClientConnInterface) ResourceMappingServiceClient
type ResourceMappingServiceServer ¶
type ResourceMappingServiceServer interface { ListResourceMappings(context.Context, *ListResourceMappingsRequest) (*ListResourceMappingsResponse, error) GetResourceMapping(context.Context, *GetResourceMappingRequest) (*GetResourceMappingResponse, error) CreateResourceMapping(context.Context, *CreateResourceMappingRequest) (*CreateResourceMappingResponse, error) UpdateResourceMapping(context.Context, *UpdateResourceMappingRequest) (*UpdateResourceMappingResponse, error) DeleteResourceMapping(context.Context, *DeleteResourceMappingRequest) (*DeleteResourceMappingResponse, error) // contains filtered or unexported methods }
ResourceMappingServiceServer is the server API for ResourceMappingService service. All implementations must embed UnimplementedResourceMappingServiceServer for forward compatibility
type UnimplementedResourceMappingServiceServer ¶
type UnimplementedResourceMappingServiceServer struct { }
UnimplementedResourceMappingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedResourceMappingServiceServer) CreateResourceMapping ¶
func (UnimplementedResourceMappingServiceServer) CreateResourceMapping(context.Context, *CreateResourceMappingRequest) (*CreateResourceMappingResponse, error)
func (UnimplementedResourceMappingServiceServer) DeleteResourceMapping ¶
func (UnimplementedResourceMappingServiceServer) DeleteResourceMapping(context.Context, *DeleteResourceMappingRequest) (*DeleteResourceMappingResponse, error)
func (UnimplementedResourceMappingServiceServer) GetResourceMapping ¶
func (UnimplementedResourceMappingServiceServer) GetResourceMapping(context.Context, *GetResourceMappingRequest) (*GetResourceMappingResponse, error)
func (UnimplementedResourceMappingServiceServer) ListResourceMappings ¶
func (UnimplementedResourceMappingServiceServer) ListResourceMappings(context.Context, *ListResourceMappingsRequest) (*ListResourceMappingsResponse, error)
func (UnimplementedResourceMappingServiceServer) UpdateResourceMapping ¶
func (UnimplementedResourceMappingServiceServer) UpdateResourceMapping(context.Context, *UpdateResourceMappingRequest) (*UpdateResourceMappingResponse, error)
type UnsafeResourceMappingServiceServer ¶
type UnsafeResourceMappingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeResourceMappingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceMappingServiceServer will result in compilation errors.
type UpdateResourceMappingRequest ¶
type UpdateResourceMappingRequest struct { // Required Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Optional AttributeValueId string `protobuf:"bytes,4,opt,name=attribute_value_id,json=attributeValueId,proto3" json:"attribute_value_id,omitempty"` Terms []string `protobuf:"bytes,5,rep,name=terms,proto3" json:"terms,omitempty"` // Common Metadata Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"` MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateResourceMappingRequest) Descriptor
deprecated
func (*UpdateResourceMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceMappingRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourceMappingRequest) GetAttributeValueId ¶
func (x *UpdateResourceMappingRequest) GetAttributeValueId() string
func (*UpdateResourceMappingRequest) GetId ¶
func (x *UpdateResourceMappingRequest) GetId() string
func (*UpdateResourceMappingRequest) GetMetadata ¶
func (x *UpdateResourceMappingRequest) GetMetadata() *common.MetadataMutable
func (*UpdateResourceMappingRequest) GetMetadataUpdateBehavior ¶
func (x *UpdateResourceMappingRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
func (*UpdateResourceMappingRequest) GetTerms ¶
func (x *UpdateResourceMappingRequest) GetTerms() []string
func (*UpdateResourceMappingRequest) ProtoMessage ¶
func (*UpdateResourceMappingRequest) ProtoMessage()
func (*UpdateResourceMappingRequest) ProtoReflect ¶
func (x *UpdateResourceMappingRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourceMappingRequest) Reset ¶
func (x *UpdateResourceMappingRequest) Reset()
func (*UpdateResourceMappingRequest) String ¶
func (x *UpdateResourceMappingRequest) String() string
type UpdateResourceMappingResponse ¶
type UpdateResourceMappingResponse struct { ResourceMapping *policy.ResourceMapping `protobuf:"bytes,1,opt,name=resource_mapping,json=resourceMapping,proto3" json:"resource_mapping,omitempty"` // contains filtered or unexported fields }
func (*UpdateResourceMappingResponse) Descriptor
deprecated
func (*UpdateResourceMappingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourceMappingResponse.ProtoReflect.Descriptor instead.
func (*UpdateResourceMappingResponse) GetResourceMapping ¶
func (x *UpdateResourceMappingResponse) GetResourceMapping() *policy.ResourceMapping
func (*UpdateResourceMappingResponse) ProtoMessage ¶
func (*UpdateResourceMappingResponse) ProtoMessage()
func (*UpdateResourceMappingResponse) ProtoReflect ¶
func (x *UpdateResourceMappingResponse) ProtoReflect() protoreflect.Message
func (*UpdateResourceMappingResponse) Reset ¶
func (x *UpdateResourceMappingResponse) Reset()
func (*UpdateResourceMappingResponse) String ¶
func (x *UpdateResourceMappingResponse) String() string