scopes

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_scopes_v1_scope_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Scope

type Scope struct {

	// Output only. The ID of the Scope.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// The ID of the Scope this resource is in. If this is the "global" Scope this field will be empty.
	ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty"`
	// 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"`
	// Optional user-set descripton for identification purposes.
	Description *wrappers.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"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamp.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"`
	// The type of the resource.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Scope contains all fields related to a Scope resource

func (*Scope) Descriptor deprecated

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

Deprecated: Use Scope.ProtoReflect.Descriptor instead.

func (*Scope) GetCreatedTime

func (x *Scope) GetCreatedTime() *timestamp.Timestamp

func (*Scope) GetDescription

func (x *Scope) GetDescription() *wrappers.StringValue

func (*Scope) GetId

func (x *Scope) GetId() string

func (*Scope) GetName

func (x *Scope) GetName() *wrappers.StringValue

func (*Scope) GetScope

func (x *Scope) GetScope() *ScopeInfo

func (*Scope) GetScopeId

func (x *Scope) GetScopeId() string

func (*Scope) GetType

func (x *Scope) GetType() string

func (*Scope) GetUpdatedTime

func (x *Scope) GetUpdatedTime() *timestamp.Timestamp

func (*Scope) GetVersion

func (x *Scope) GetVersion() uint32

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) ProtoReflect

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

func (*Scope) Reset

func (x *Scope) Reset()

func (*Scope) String

func (x *Scope) String() string

type ScopeInfo

type ScopeInfo struct {

	// Output only. The ID of the Scope.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. The type of the Scope.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. The name of the Scope, if any.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The description of the Scope, if any.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The ID of the parent Scope, if any. This field will be empty if this is the "global" scope.
	ParentScopeId string `protobuf:"bytes,5,opt,name=parent_scope_id,proto3" json:"parent_scope_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ScopeInfo) Descriptor deprecated

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

Deprecated: Use ScopeInfo.ProtoReflect.Descriptor instead.

func (*ScopeInfo) GetDescription

func (x *ScopeInfo) GetDescription() string

func (*ScopeInfo) GetId

func (x *ScopeInfo) GetId() string

func (*ScopeInfo) GetName

func (x *ScopeInfo) GetName() string

func (*ScopeInfo) GetParentScopeId

func (x *ScopeInfo) GetParentScopeId() string

func (*ScopeInfo) GetType

func (x *ScopeInfo) GetType() string

func (*ScopeInfo) ProtoMessage

func (*ScopeInfo) ProtoMessage()

func (*ScopeInfo) ProtoReflect

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

func (*ScopeInfo) Reset

func (x *ScopeInfo) Reset()

func (*ScopeInfo) String

func (x *ScopeInfo) String() string

Jump to

Keyboard shortcuts

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