1 parent
7062bc70f0
commit
be10cc4b42
62 files changed
+440
-438
No files matched your search
@@ -1,18 +1,18 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.26.0
|
||||
// protoc v3.12.4
|
||||
// protoc v3.15.5
|
||||
// source: controller/api/resources/scopes/v1/scope.proto
|
||||
|
||||
package scopes
|
||||
|
||||
import (
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||||
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
||||
_ "github.com/hashicorp/boundary/internal/gen/controller/protooptions"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
structpb "google.golang.org/protobuf/types/known/structpb"
|
||||
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||||
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
@@ -121,13 +121,13 @@ type Scope struct {
|
||||
// Output only. Scope information for this resource.
|
||||
Scope *ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
|
||||
// Optional name for identification purposes.
|
||||
Name *wrappers.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// Optional user-set descripton for identification purposes.
|
||||
Description *wrappers.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"`
|
||||
Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"`
|
||||
// Output only. The time this resource was created.
|
||||
CreatedTime *timestamp.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
|
||||
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
|
||||
// Output only. The time this resource was last updated.
|
||||
UpdatedTime *timestamp.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
|
||||
UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
|
||||
// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
|
||||
// The mutation will fail if the version does not match the latest known good version.
|
||||
Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty"`
|
||||
@@ -135,11 +135,11 @@ type Scope struct {
|
||||
Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// The ID of the primary auth method for this scope. A primary auth method
|
||||
// is allowed to vivify users when new accounts are created and is the source for the users account info
|
||||
PrimaryAuthMethodId *wrappers.StringValue `protobuf:"bytes,100,opt,name=primary_auth_method_id,proto3" json:"primary_auth_method_id,omitempty"`
|
||||
PrimaryAuthMethodId *wrapperspb.StringValue `protobuf:"bytes,100,opt,name=primary_auth_method_id,proto3" json:"primary_auth_method_id,omitempty"`
|
||||
// Output only. The available actions on this resource for this user.
|
||||
AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty"`
|
||||
// Output only. The authorized actions for the scope's collections.
|
||||
AuthorizedCollectionActions map[string]*_struct.ListValue `protobuf:"bytes,310,rep,name=authorized_collection_actions,proto3" json:"authorized_collection_actions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
AuthorizedCollectionActions map[string]*structpb.ListValue `protobuf:"bytes,310,rep,name=authorized_collection_actions,proto3" json:"authorized_collection_actions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
}
|
||||
|
||||
func (x *Scope) Reset() {
|
||||
@@ -195,28 +195,28 @@ func (x *Scope) GetScope() *ScopeInfo {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Scope) GetName() *wrappers.StringValue {
|
||||
func (x *Scope) GetName() *wrapperspb.StringValue {
|
||||
if x != nil {
|
||||
return x.Name
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Scope) GetDescription() *wrappers.StringValue {
|
||||
func (x *Scope) GetDescription() *wrapperspb.StringValue {
|
||||
if x != nil {
|
||||
return x.Description
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Scope) GetCreatedTime() *timestamp.Timestamp {
|
||||
func (x *Scope) GetCreatedTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.CreatedTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Scope) GetUpdatedTime() *timestamp.Timestamp {
|
||||
func (x *Scope) GetUpdatedTime() *timestamppb.Timestamp {
|
||||
if x != nil {
|
||||
return x.UpdatedTime
|
||||
}
|
||||
@@ -237,7 +237,7 @@ func (x *Scope) GetType() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Scope) GetPrimaryAuthMethodId() *wrappers.StringValue {
|
||||
func (x *Scope) GetPrimaryAuthMethodId() *wrapperspb.StringValue {
|
||||
if x != nil {
|
||||
return x.PrimaryAuthMethodId
|
||||
}
|
||||
@@ -251,7 +251,7 @@ func (x *Scope) GetAuthorizedActions() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Scope) GetAuthorizedCollectionActions() map[string]*_struct.ListValue {
|
||||
func (x *Scope) GetAuthorizedCollectionActions() map[string]*structpb.ListValue {
|
||||
if x != nil {
|
||||
return x.AuthorizedCollectionActions
|
||||
}
|
||||
@@ -364,12 +364,12 @@ func file_controller_api_resources_scopes_v1_scope_proto_rawDescGZIP() []byte {
|
||||
|
||||
var file_controller_api_resources_scopes_v1_scope_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_controller_api_resources_scopes_v1_scope_proto_goTypes = []interface{}{
|
||||
(*ScopeInfo)(nil), // 0: controller.api.resources.scopes.v1.ScopeInfo
|
||||
(*Scope)(nil), // 1: controller.api.resources.scopes.v1.Scope
|
||||
nil, // 2: controller.api.resources.scopes.v1.Scope.AuthorizedCollectionActionsEntry
|
||||
(*wrappers.StringValue)(nil), // 3: google.protobuf.StringValue
|
||||
(*timestamp.Timestamp)(nil), // 4: google.protobuf.Timestamp
|
||||
(*_struct.ListValue)(nil), // 5: google.protobuf.ListValue
|
||||
(*ScopeInfo)(nil), // 0: controller.api.resources.scopes.v1.ScopeInfo
|
||||
(*Scope)(nil), // 1: controller.api.resources.scopes.v1.Scope
|
||||
nil, // 2: controller.api.resources.scopes.v1.Scope.AuthorizedCollectionActionsEntry
|
||||
(*wrapperspb.StringValue)(nil), // 3: google.protobuf.StringValue
|
||||
(*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
|
||||
(*structpb.ListValue)(nil), // 5: google.protobuf.ListValue
|
||||
}
|
||||
var file_controller_api_resources_scopes_v1_scope_proto_depIdxs = []int32{
|
||||
0, // 0: controller.api.resources.scopes.v1.Scope.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo
|
||||
|
||||
Reference in new issue
Block a user