permission_client

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchGetPermissionsDescriptor added in v0.4.28

type BatchGetPermissionsDescriptor struct{}

func GetBatchGetPermissionsDescriptor added in v0.4.28

func GetBatchGetPermissionsDescriptor() *BatchGetPermissionsDescriptor

func (*BatchGetPermissionsDescriptor) GetApiDescriptor added in v0.4.28

func (*BatchGetPermissionsDescriptor) GetApiName added in v0.4.28

func (d *BatchGetPermissionsDescriptor) GetApiName() string

func (*BatchGetPermissionsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *BatchGetPermissionsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetPermissionsDescriptor) GetFullMethodName added in v0.4.28

func (d *BatchGetPermissionsDescriptor) GetFullMethodName() string

func (*BatchGetPermissionsDescriptor) GetMethodName added in v0.4.28

func (d *BatchGetPermissionsDescriptor) GetMethodName() string

func (*BatchGetPermissionsDescriptor) GetProtoPkgName added in v0.4.28

func (d *BatchGetPermissionsDescriptor) GetProtoPkgName() string

func (*BatchGetPermissionsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *BatchGetPermissionsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*BatchGetPermissionsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *BatchGetPermissionsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*BatchGetPermissionsDescriptor) GetServiceDomain added in v0.4.28

func (d *BatchGetPermissionsDescriptor) GetServiceDomain() string

func (*BatchGetPermissionsDescriptor) GetServiceVersion added in v0.4.28

func (d *BatchGetPermissionsDescriptor) GetServiceVersion() string

func (*BatchGetPermissionsDescriptor) GetVerb added in v0.4.28

func (*BatchGetPermissionsDescriptor) HasResource added in v0.4.30

func (d *BatchGetPermissionsDescriptor) HasResource() bool

func (*BatchGetPermissionsDescriptor) IsClientStream added in v0.4.28

func (d *BatchGetPermissionsDescriptor) IsClientStream() bool

func (*BatchGetPermissionsDescriptor) IsCollection added in v0.4.30

func (d *BatchGetPermissionsDescriptor) IsCollection() bool

func (*BatchGetPermissionsDescriptor) IsPlural added in v0.4.30

func (d *BatchGetPermissionsDescriptor) IsPlural() bool

func (*BatchGetPermissionsDescriptor) IsServerStream added in v0.4.28

func (d *BatchGetPermissionsDescriptor) IsServerStream() bool

func (*BatchGetPermissionsDescriptor) IsUnary added in v0.4.28

func (d *BatchGetPermissionsDescriptor) IsUnary() bool

func (*BatchGetPermissionsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *BatchGetPermissionsDescriptor) NewEmptyClientMsg() proto.Message

func (*BatchGetPermissionsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *BatchGetPermissionsDescriptor) NewEmptyServerMsg() proto.Message

func (*BatchGetPermissionsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *BatchGetPermissionsDescriptor) RequestHasResourceBody() bool

type BatchGetPermissionsDescriptorClientMsgHandle added in v0.4.28

type BatchGetPermissionsDescriptorClientMsgHandle struct{}

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetPermissionsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetPermissionsDescriptorServerMsgHandle added in v0.4.28

type BatchGetPermissionsDescriptorServerMsgHandle struct{}

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*BatchGetPermissionsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type BatchGetPermissionsRequest

type BatchGetPermissionsRequest struct {

	// Names of Permissions
	Names []*permission.Name `protobuf:"bytes,2,rep,customtype=Name,name=names,proto3" json:"names,omitempty" firestore:"names"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *permission.Permission_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

Request message for method [BatchGetPermissions][ntt.iam.v1alpha2.BatchGetPermissions]

func (*BatchGetPermissionsRequest) Descriptor

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

Deprecated, Use BatchGetPermissionsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetPermissionsRequest) GetFieldMask

func (*BatchGetPermissionsRequest) GetNames

func (m *BatchGetPermissionsRequest) GetNames() []*permission.Name

func (*BatchGetPermissionsRequest) GetView

func (m *BatchGetPermissionsRequest) GetView() view.View

func (*BatchGetPermissionsRequest) GotenMessage

func (*BatchGetPermissionsRequest) GotenMessage()

func (*BatchGetPermissionsRequest) GotenValidate

func (obj *BatchGetPermissionsRequest) GotenValidate() error

func (*BatchGetPermissionsRequest) Marshal

func (m *BatchGetPermissionsRequest) Marshal() ([]byte, error)

func (*BatchGetPermissionsRequest) MarshalJSON

func (m *BatchGetPermissionsRequest) MarshalJSON() ([]byte, error)

func (*BatchGetPermissionsRequest) ProtoMessage

func (*BatchGetPermissionsRequest) ProtoMessage()

func (*BatchGetPermissionsRequest) ProtoReflect

func (m *BatchGetPermissionsRequest) ProtoReflect() preflect.Message

func (*BatchGetPermissionsRequest) Reset

func (m *BatchGetPermissionsRequest) Reset()

func (*BatchGetPermissionsRequest) SetFieldMask

func (*BatchGetPermissionsRequest) SetNames

func (m *BatchGetPermissionsRequest) SetNames(fv []*permission.Name)

func (*BatchGetPermissionsRequest) SetView

func (m *BatchGetPermissionsRequest) SetView(fv view.View)

func (*BatchGetPermissionsRequest) String

func (m *BatchGetPermissionsRequest) String() string

func (*BatchGetPermissionsRequest) Unmarshal

func (m *BatchGetPermissionsRequest) Unmarshal(b []byte) error

func (*BatchGetPermissionsRequest) UnmarshalJSON

func (m *BatchGetPermissionsRequest) UnmarshalJSON(data []byte) error

type BatchGetPermissionsResponse

type BatchGetPermissionsResponse struct {

	// found Permissions
	Permissions []*permission.Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty" firestore:"permissions"`
	// list of not found Permissions
	Missing []*permission.Name `protobuf:"bytes,2,rep,customtype=Name,name=missing,proto3" json:"missing,omitempty" firestore:"missing"`
	// contains filtered or unexported fields
}

BatchGetPermissionsResponse

func (*BatchGetPermissionsResponse) Descriptor

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

Deprecated, Use BatchGetPermissionsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetPermissionsResponse) GetMissing

func (m *BatchGetPermissionsResponse) GetMissing() []*permission.Name

func (*BatchGetPermissionsResponse) GetPermissions

func (m *BatchGetPermissionsResponse) GetPermissions() []*permission.Permission

func (*BatchGetPermissionsResponse) GotenMessage

func (*BatchGetPermissionsResponse) GotenMessage()

func (*BatchGetPermissionsResponse) GotenValidate

func (obj *BatchGetPermissionsResponse) GotenValidate() error

func (*BatchGetPermissionsResponse) Marshal

func (m *BatchGetPermissionsResponse) Marshal() ([]byte, error)

func (*BatchGetPermissionsResponse) MarshalJSON

func (m *BatchGetPermissionsResponse) MarshalJSON() ([]byte, error)

func (*BatchGetPermissionsResponse) ProtoMessage

func (*BatchGetPermissionsResponse) ProtoMessage()

func (*BatchGetPermissionsResponse) ProtoReflect

func (m *BatchGetPermissionsResponse) ProtoReflect() preflect.Message

func (*BatchGetPermissionsResponse) Reset

func (m *BatchGetPermissionsResponse) Reset()

func (*BatchGetPermissionsResponse) SetMissing

func (m *BatchGetPermissionsResponse) SetMissing(fv []*permission.Name)

func (*BatchGetPermissionsResponse) SetPermissions

func (m *BatchGetPermissionsResponse) SetPermissions(fv []*permission.Permission)

func (*BatchGetPermissionsResponse) String

func (m *BatchGetPermissionsResponse) String() string

func (*BatchGetPermissionsResponse) Unmarshal

func (m *BatchGetPermissionsResponse) Unmarshal(b []byte) error

func (*BatchGetPermissionsResponse) UnmarshalJSON

func (m *BatchGetPermissionsResponse) UnmarshalJSON(data []byte) error

type CreatePermissionDescriptor added in v0.4.28

type CreatePermissionDescriptor struct{}

func GetCreatePermissionDescriptor added in v0.4.28

func GetCreatePermissionDescriptor() *CreatePermissionDescriptor

func (*CreatePermissionDescriptor) GetApiDescriptor added in v0.4.28

func (*CreatePermissionDescriptor) GetApiName added in v0.4.28

func (d *CreatePermissionDescriptor) GetApiName() string

func (*CreatePermissionDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *CreatePermissionDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*CreatePermissionDescriptor) GetFullMethodName added in v0.4.28

func (d *CreatePermissionDescriptor) GetFullMethodName() string

func (*CreatePermissionDescriptor) GetMethodName added in v0.4.28

func (d *CreatePermissionDescriptor) GetMethodName() string

func (*CreatePermissionDescriptor) GetProtoPkgName added in v0.4.28

func (d *CreatePermissionDescriptor) GetProtoPkgName() string

func (*CreatePermissionDescriptor) GetResourceDescriptor added in v0.4.30

func (d *CreatePermissionDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*CreatePermissionDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *CreatePermissionDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*CreatePermissionDescriptor) GetServiceDomain added in v0.4.28

func (d *CreatePermissionDescriptor) GetServiceDomain() string

func (*CreatePermissionDescriptor) GetServiceVersion added in v0.4.28

func (d *CreatePermissionDescriptor) GetServiceVersion() string

func (*CreatePermissionDescriptor) GetVerb added in v0.4.28

func (d *CreatePermissionDescriptor) GetVerb() string

func (*CreatePermissionDescriptor) HasResource added in v0.4.30

func (d *CreatePermissionDescriptor) HasResource() bool

func (*CreatePermissionDescriptor) IsClientStream added in v0.4.28

func (d *CreatePermissionDescriptor) IsClientStream() bool

func (*CreatePermissionDescriptor) IsCollection added in v0.4.30

func (d *CreatePermissionDescriptor) IsCollection() bool

func (*CreatePermissionDescriptor) IsPlural added in v0.4.30

func (d *CreatePermissionDescriptor) IsPlural() bool

func (*CreatePermissionDescriptor) IsServerStream added in v0.4.28

func (d *CreatePermissionDescriptor) IsServerStream() bool

func (*CreatePermissionDescriptor) IsUnary added in v0.4.28

func (d *CreatePermissionDescriptor) IsUnary() bool

func (*CreatePermissionDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *CreatePermissionDescriptor) NewEmptyClientMsg() proto.Message

func (*CreatePermissionDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *CreatePermissionDescriptor) NewEmptyServerMsg() proto.Message

func (*CreatePermissionDescriptor) RequestHasResourceBody added in v0.4.28

func (d *CreatePermissionDescriptor) RequestHasResourceBody() bool

type CreatePermissionDescriptorClientMsgHandle added in v0.4.28

type CreatePermissionDescriptorClientMsgHandle struct{}

func (*CreatePermissionDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreatePermissionDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreatePermissionDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreatePermissionDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*CreatePermissionDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type CreatePermissionDescriptorServerMsgHandle added in v0.4.28

type CreatePermissionDescriptorServerMsgHandle struct{}

func (*CreatePermissionDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*CreatePermissionDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*CreatePermissionDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*CreatePermissionDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*CreatePermissionDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type CreatePermissionRequest

type CreatePermissionRequest struct {

	// Permission resource body
	Permission *permission.Permission `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty" firestore:"permission"`
	// contains filtered or unexported fields
}

Request message for method [CreatePermission][ntt.iam.v1alpha2.CreatePermission]

func (*CreatePermissionRequest) Descriptor

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

Deprecated, Use CreatePermissionRequest.ProtoReflect.Descriptor instead.

func (*CreatePermissionRequest) GetPermission

func (m *CreatePermissionRequest) GetPermission() *permission.Permission

func (*CreatePermissionRequest) GotenMessage

func (*CreatePermissionRequest) GotenMessage()

func (*CreatePermissionRequest) GotenValidate

func (obj *CreatePermissionRequest) GotenValidate() error

func (*CreatePermissionRequest) Marshal

func (m *CreatePermissionRequest) Marshal() ([]byte, error)

func (*CreatePermissionRequest) MarshalJSON

func (m *CreatePermissionRequest) MarshalJSON() ([]byte, error)

func (*CreatePermissionRequest) ProtoMessage

func (*CreatePermissionRequest) ProtoMessage()

func (*CreatePermissionRequest) ProtoReflect

func (m *CreatePermissionRequest) ProtoReflect() preflect.Message

func (*CreatePermissionRequest) Reset

func (m *CreatePermissionRequest) Reset()

func (*CreatePermissionRequest) SetPermission

func (m *CreatePermissionRequest) SetPermission(fv *permission.Permission)

func (*CreatePermissionRequest) String

func (m *CreatePermissionRequest) String() string

func (*CreatePermissionRequest) Unmarshal

func (m *CreatePermissionRequest) Unmarshal(b []byte) error

func (*CreatePermissionRequest) UnmarshalJSON

func (m *CreatePermissionRequest) UnmarshalJSON(data []byte) error

type DeletePermissionDescriptor added in v0.4.28

type DeletePermissionDescriptor struct{}

func GetDeletePermissionDescriptor added in v0.4.28

func GetDeletePermissionDescriptor() *DeletePermissionDescriptor

func (*DeletePermissionDescriptor) GetApiDescriptor added in v0.4.28

func (*DeletePermissionDescriptor) GetApiName added in v0.4.28

func (d *DeletePermissionDescriptor) GetApiName() string

func (*DeletePermissionDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *DeletePermissionDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*DeletePermissionDescriptor) GetFullMethodName added in v0.4.28

func (d *DeletePermissionDescriptor) GetFullMethodName() string

func (*DeletePermissionDescriptor) GetMethodName added in v0.4.28

func (d *DeletePermissionDescriptor) GetMethodName() string

func (*DeletePermissionDescriptor) GetProtoPkgName added in v0.4.28

func (d *DeletePermissionDescriptor) GetProtoPkgName() string

func (*DeletePermissionDescriptor) GetResourceDescriptor added in v0.4.30

func (d *DeletePermissionDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*DeletePermissionDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *DeletePermissionDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*DeletePermissionDescriptor) GetServiceDomain added in v0.4.28

func (d *DeletePermissionDescriptor) GetServiceDomain() string

func (*DeletePermissionDescriptor) GetServiceVersion added in v0.4.28

func (d *DeletePermissionDescriptor) GetServiceVersion() string

func (*DeletePermissionDescriptor) GetVerb added in v0.4.28

func (d *DeletePermissionDescriptor) GetVerb() string

func (*DeletePermissionDescriptor) HasResource added in v0.4.30

func (d *DeletePermissionDescriptor) HasResource() bool

func (*DeletePermissionDescriptor) IsClientStream added in v0.4.28

func (d *DeletePermissionDescriptor) IsClientStream() bool

func (*DeletePermissionDescriptor) IsCollection added in v0.4.30

func (d *DeletePermissionDescriptor) IsCollection() bool

func (*DeletePermissionDescriptor) IsPlural added in v0.4.30

func (d *DeletePermissionDescriptor) IsPlural() bool

func (*DeletePermissionDescriptor) IsServerStream added in v0.4.28

func (d *DeletePermissionDescriptor) IsServerStream() bool

func (*DeletePermissionDescriptor) IsUnary added in v0.4.28

func (d *DeletePermissionDescriptor) IsUnary() bool

func (*DeletePermissionDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *DeletePermissionDescriptor) NewEmptyClientMsg() proto.Message

func (*DeletePermissionDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *DeletePermissionDescriptor) NewEmptyServerMsg() proto.Message

func (*DeletePermissionDescriptor) RequestHasResourceBody added in v0.4.28

func (d *DeletePermissionDescriptor) RequestHasResourceBody() bool

type DeletePermissionDescriptorClientMsgHandle added in v0.4.28

type DeletePermissionDescriptorClientMsgHandle struct{}

func (*DeletePermissionDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeletePermissionDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeletePermissionDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeletePermissionDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*DeletePermissionDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type DeletePermissionDescriptorServerMsgHandle added in v0.4.28

type DeletePermissionDescriptorServerMsgHandle struct{}

func (*DeletePermissionDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*DeletePermissionDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*DeletePermissionDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*DeletePermissionDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*DeletePermissionDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type DeletePermissionRequest

type DeletePermissionRequest struct {

	// Name of ntt.iam.v1alpha2.Permission
	Name *permission.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// contains filtered or unexported fields
}

Request message for method [DeletePermission][ntt.iam.v1alpha2.DeletePermission]

func (*DeletePermissionRequest) Descriptor

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

Deprecated, Use DeletePermissionRequest.ProtoReflect.Descriptor instead.

func (*DeletePermissionRequest) GetName

func (m *DeletePermissionRequest) GetName() *permission.Name

func (*DeletePermissionRequest) GotenMessage

func (*DeletePermissionRequest) GotenMessage()

func (*DeletePermissionRequest) GotenValidate

func (obj *DeletePermissionRequest) GotenValidate() error

func (*DeletePermissionRequest) Marshal

func (m *DeletePermissionRequest) Marshal() ([]byte, error)

func (*DeletePermissionRequest) MarshalJSON

func (m *DeletePermissionRequest) MarshalJSON() ([]byte, error)

func (*DeletePermissionRequest) ProtoMessage

func (*DeletePermissionRequest) ProtoMessage()

func (*DeletePermissionRequest) ProtoReflect

func (m *DeletePermissionRequest) ProtoReflect() preflect.Message

func (*DeletePermissionRequest) Reset

func (m *DeletePermissionRequest) Reset()

func (*DeletePermissionRequest) SetName

func (m *DeletePermissionRequest) SetName(fv *permission.Name)

func (*DeletePermissionRequest) String

func (m *DeletePermissionRequest) String() string

func (*DeletePermissionRequest) Unmarshal

func (m *DeletePermissionRequest) Unmarshal(b []byte) error

func (*DeletePermissionRequest) UnmarshalJSON

func (m *DeletePermissionRequest) UnmarshalJSON(data []byte) error

type GetPermissionDescriptor added in v0.4.28

type GetPermissionDescriptor struct{}

func GetGetPermissionDescriptor added in v0.4.28

func GetGetPermissionDescriptor() *GetPermissionDescriptor

func (*GetPermissionDescriptor) GetApiDescriptor added in v0.4.28

func (d *GetPermissionDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*GetPermissionDescriptor) GetApiName added in v0.4.28

func (d *GetPermissionDescriptor) GetApiName() string

func (*GetPermissionDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *GetPermissionDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetPermissionDescriptor) GetFullMethodName added in v0.4.28

func (d *GetPermissionDescriptor) GetFullMethodName() string

func (*GetPermissionDescriptor) GetMethodName added in v0.4.28

func (d *GetPermissionDescriptor) GetMethodName() string

func (*GetPermissionDescriptor) GetProtoPkgName added in v0.4.28

func (d *GetPermissionDescriptor) GetProtoPkgName() string

func (*GetPermissionDescriptor) GetResourceDescriptor added in v0.4.30

func (d *GetPermissionDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*GetPermissionDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *GetPermissionDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*GetPermissionDescriptor) GetServiceDomain added in v0.4.28

func (d *GetPermissionDescriptor) GetServiceDomain() string

func (*GetPermissionDescriptor) GetServiceVersion added in v0.4.28

func (d *GetPermissionDescriptor) GetServiceVersion() string

func (*GetPermissionDescriptor) GetVerb added in v0.4.28

func (d *GetPermissionDescriptor) GetVerb() string

func (*GetPermissionDescriptor) HasResource added in v0.4.30

func (d *GetPermissionDescriptor) HasResource() bool

func (*GetPermissionDescriptor) IsClientStream added in v0.4.28

func (d *GetPermissionDescriptor) IsClientStream() bool

func (*GetPermissionDescriptor) IsCollection added in v0.4.30

func (d *GetPermissionDescriptor) IsCollection() bool

func (*GetPermissionDescriptor) IsPlural added in v0.4.30

func (d *GetPermissionDescriptor) IsPlural() bool

func (*GetPermissionDescriptor) IsServerStream added in v0.4.28

func (d *GetPermissionDescriptor) IsServerStream() bool

func (*GetPermissionDescriptor) IsUnary added in v0.4.28

func (d *GetPermissionDescriptor) IsUnary() bool

func (*GetPermissionDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *GetPermissionDescriptor) NewEmptyClientMsg() proto.Message

func (*GetPermissionDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *GetPermissionDescriptor) NewEmptyServerMsg() proto.Message

func (*GetPermissionDescriptor) RequestHasResourceBody added in v0.4.28

func (d *GetPermissionDescriptor) RequestHasResourceBody() bool

type GetPermissionDescriptorClientMsgHandle added in v0.4.28

type GetPermissionDescriptorClientMsgHandle struct{}

func (*GetPermissionDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*GetPermissionDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetPermissionDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetPermissionDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*GetPermissionDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type GetPermissionDescriptorServerMsgHandle added in v0.4.28

type GetPermissionDescriptorServerMsgHandle struct{}

func (*GetPermissionDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*GetPermissionDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*GetPermissionDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*GetPermissionDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*GetPermissionDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type GetPermissionRequest

type GetPermissionRequest struct {

	// Name of ntt.iam.v1alpha2.Permission
	Name *permission.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *permission.Permission_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

Request message for method [GetPermission][ntt.iam.v1alpha2.GetPermission]

func (*GetPermissionRequest) Descriptor

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

Deprecated, Use GetPermissionRequest.ProtoReflect.Descriptor instead.

func (*GetPermissionRequest) GetFieldMask

func (*GetPermissionRequest) GetName

func (m *GetPermissionRequest) GetName() *permission.Name

func (*GetPermissionRequest) GetView

func (m *GetPermissionRequest) GetView() view.View

func (*GetPermissionRequest) GotenMessage

func (*GetPermissionRequest) GotenMessage()

func (*GetPermissionRequest) GotenValidate

func (obj *GetPermissionRequest) GotenValidate() error

func (*GetPermissionRequest) Marshal

func (m *GetPermissionRequest) Marshal() ([]byte, error)

func (*GetPermissionRequest) MarshalJSON

func (m *GetPermissionRequest) MarshalJSON() ([]byte, error)

func (*GetPermissionRequest) ProtoMessage

func (*GetPermissionRequest) ProtoMessage()

func (*GetPermissionRequest) ProtoReflect

func (m *GetPermissionRequest) ProtoReflect() preflect.Message

func (*GetPermissionRequest) Reset

func (m *GetPermissionRequest) Reset()

func (*GetPermissionRequest) SetFieldMask

func (*GetPermissionRequest) SetName

func (m *GetPermissionRequest) SetName(fv *permission.Name)

func (*GetPermissionRequest) SetView

func (m *GetPermissionRequest) SetView(fv view.View)

func (*GetPermissionRequest) String

func (m *GetPermissionRequest) String() string

func (*GetPermissionRequest) Unmarshal

func (m *GetPermissionRequest) Unmarshal(b []byte) error

func (*GetPermissionRequest) UnmarshalJSON

func (m *GetPermissionRequest) UnmarshalJSON(data []byte) error

type ListPermissionsDescriptor added in v0.4.28

type ListPermissionsDescriptor struct{}

func GetListPermissionsDescriptor added in v0.4.28

func GetListPermissionsDescriptor() *ListPermissionsDescriptor

func (*ListPermissionsDescriptor) GetApiDescriptor added in v0.4.28

func (d *ListPermissionsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*ListPermissionsDescriptor) GetApiName added in v0.4.28

func (d *ListPermissionsDescriptor) GetApiName() string

func (*ListPermissionsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *ListPermissionsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListPermissionsDescriptor) GetFullMethodName added in v0.4.28

func (d *ListPermissionsDescriptor) GetFullMethodName() string

func (*ListPermissionsDescriptor) GetMethodName added in v0.4.28

func (d *ListPermissionsDescriptor) GetMethodName() string

func (*ListPermissionsDescriptor) GetProtoPkgName added in v0.4.28

func (d *ListPermissionsDescriptor) GetProtoPkgName() string

func (*ListPermissionsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *ListPermissionsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*ListPermissionsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *ListPermissionsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*ListPermissionsDescriptor) GetServiceDomain added in v0.4.28

func (d *ListPermissionsDescriptor) GetServiceDomain() string

func (*ListPermissionsDescriptor) GetServiceVersion added in v0.4.28

func (d *ListPermissionsDescriptor) GetServiceVersion() string

func (*ListPermissionsDescriptor) GetVerb added in v0.4.28

func (d *ListPermissionsDescriptor) GetVerb() string

func (*ListPermissionsDescriptor) HasResource added in v0.4.30

func (d *ListPermissionsDescriptor) HasResource() bool

func (*ListPermissionsDescriptor) IsClientStream added in v0.4.28

func (d *ListPermissionsDescriptor) IsClientStream() bool

func (*ListPermissionsDescriptor) IsCollection added in v0.4.30

func (d *ListPermissionsDescriptor) IsCollection() bool

func (*ListPermissionsDescriptor) IsPlural added in v0.4.30

func (d *ListPermissionsDescriptor) IsPlural() bool

func (*ListPermissionsDescriptor) IsServerStream added in v0.4.28

func (d *ListPermissionsDescriptor) IsServerStream() bool

func (*ListPermissionsDescriptor) IsUnary added in v0.4.28

func (d *ListPermissionsDescriptor) IsUnary() bool

func (*ListPermissionsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *ListPermissionsDescriptor) NewEmptyClientMsg() proto.Message

func (*ListPermissionsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *ListPermissionsDescriptor) NewEmptyServerMsg() proto.Message

func (*ListPermissionsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *ListPermissionsDescriptor) RequestHasResourceBody() bool

type ListPermissionsDescriptorClientMsgHandle added in v0.4.28

type ListPermissionsDescriptorClientMsgHandle struct{}

func (*ListPermissionsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListPermissionsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListPermissionsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListPermissionsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*ListPermissionsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type ListPermissionsDescriptorServerMsgHandle added in v0.4.28

type ListPermissionsDescriptorServerMsgHandle struct{}

func (*ListPermissionsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*ListPermissionsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*ListPermissionsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*ListPermissionsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*ListPermissionsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type ListPermissionsRequest

type ListPermissionsRequest struct {

	// Requested page size. Server may return fewer Permissions than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// [ListPermissionsResponse.next_page_token][ntt.iam.v1alpha2.ListPermissionsResponse.next_page_token]
	PageToken *permission.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination list
	// of field path with order directive, either 'asc' or 'desc'. If direction is
	// not provided, 'asc' is assumed. e.g. "state.nested_field asc,
	// state.something.else desc, theme"
	OrderBy *permission.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *permission.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *permission.Permission_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,7,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Indicates if list response should contain total count and offset (fields
	// current_offset and total_results_count).
	IncludePagingInfo bool `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [ListPermissions][ntt.iam.v1alpha2.ListPermissions]

func (*ListPermissionsRequest) Descriptor

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

Deprecated, Use ListPermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListPermissionsRequest) GetFieldMask

func (*ListPermissionsRequest) GetFilter

func (m *ListPermissionsRequest) GetFilter() *permission.Filter

func (*ListPermissionsRequest) GetIncludePagingInfo added in v0.10.1

func (m *ListPermissionsRequest) GetIncludePagingInfo() bool

func (*ListPermissionsRequest) GetOrderBy

func (m *ListPermissionsRequest) GetOrderBy() *permission.OrderBy

func (*ListPermissionsRequest) GetPageSize

func (m *ListPermissionsRequest) GetPageSize() int32

func (*ListPermissionsRequest) GetPageToken

func (m *ListPermissionsRequest) GetPageToken() *permission.PagerCursor

func (*ListPermissionsRequest) GetView

func (m *ListPermissionsRequest) GetView() view.View

func (*ListPermissionsRequest) GotenMessage

func (*ListPermissionsRequest) GotenMessage()

func (*ListPermissionsRequest) GotenValidate

func (obj *ListPermissionsRequest) GotenValidate() error

func (*ListPermissionsRequest) Marshal

func (m *ListPermissionsRequest) Marshal() ([]byte, error)

func (*ListPermissionsRequest) MarshalJSON

func (m *ListPermissionsRequest) MarshalJSON() ([]byte, error)

func (*ListPermissionsRequest) ProtoMessage

func (*ListPermissionsRequest) ProtoMessage()

func (*ListPermissionsRequest) ProtoReflect

func (m *ListPermissionsRequest) ProtoReflect() preflect.Message

func (*ListPermissionsRequest) Reset

func (m *ListPermissionsRequest) Reset()

func (*ListPermissionsRequest) SetFieldMask

func (*ListPermissionsRequest) SetFilter

func (m *ListPermissionsRequest) SetFilter(fv *permission.Filter)

func (*ListPermissionsRequest) SetIncludePagingInfo added in v0.10.1

func (m *ListPermissionsRequest) SetIncludePagingInfo(fv bool)

func (*ListPermissionsRequest) SetOrderBy

func (m *ListPermissionsRequest) SetOrderBy(fv *permission.OrderBy)

func (*ListPermissionsRequest) SetPageSize

func (m *ListPermissionsRequest) SetPageSize(fv int32)

func (*ListPermissionsRequest) SetPageToken

func (m *ListPermissionsRequest) SetPageToken(fv *permission.PagerCursor)

func (*ListPermissionsRequest) SetView

func (m *ListPermissionsRequest) SetView(fv view.View)

func (*ListPermissionsRequest) String

func (m *ListPermissionsRequest) String() string

func (*ListPermissionsRequest) Unmarshal

func (m *ListPermissionsRequest) Unmarshal(b []byte) error

func (*ListPermissionsRequest) UnmarshalJSON

func (m *ListPermissionsRequest) UnmarshalJSON(data []byte) error

type ListPermissionsResponse

type ListPermissionsResponse struct {

	// The list of Permissions
	Permissions []*permission.Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty" firestore:"permissions"`
	// A token to retrieve previous page of results. Pass this value in the
	// [ListPermissionsRequest.page_token][ntt.iam.v1alpha2.ListPermissionsRequest.page_token]
	PrevPageToken *permission.PagerCursor `` /* 151-byte string literal not displayed */
	// A token to retrieve next page of results. Pass this value in the
	// [ListPermissionsRequest.page_token][ntt.iam.v1alpha2.ListPermissionsRequest.page_token]
	NextPageToken *permission.PagerCursor `` /* 151-byte string literal not displayed */
	// Current offset from the first page or 0 if no page tokens were given,
	// paging info was not requested or there was an error while trying to get
	// it). Page index can be computed from offset and limit provided in a
	// request.
	CurrentOffset int32 `` /* 127-byte string literal not displayed */
	// Number of total Permissions across all pages or 0, if there are no items,
	// paging info was not requested or there was an error while trying to get it.
	TotalResultsCount int32 `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [ListPermissions][ntt.iam.v1alpha2.ListPermissions]

func (*ListPermissionsResponse) Descriptor

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

Deprecated, Use ListPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListPermissionsResponse) GetCurrentOffset added in v0.10.1

func (m *ListPermissionsResponse) GetCurrentOffset() int32

func (*ListPermissionsResponse) GetNextPageToken

func (m *ListPermissionsResponse) GetNextPageToken() *permission.PagerCursor

func (*ListPermissionsResponse) GetPermissions

func (m *ListPermissionsResponse) GetPermissions() []*permission.Permission

func (*ListPermissionsResponse) GetPrevPageToken

func (m *ListPermissionsResponse) GetPrevPageToken() *permission.PagerCursor

func (*ListPermissionsResponse) GetTotalResultsCount added in v0.10.1

func (m *ListPermissionsResponse) GetTotalResultsCount() int32

func (*ListPermissionsResponse) GotenMessage

func (*ListPermissionsResponse) GotenMessage()

func (*ListPermissionsResponse) GotenValidate

func (obj *ListPermissionsResponse) GotenValidate() error

func (*ListPermissionsResponse) Marshal

func (m *ListPermissionsResponse) Marshal() ([]byte, error)

func (*ListPermissionsResponse) MarshalJSON

func (m *ListPermissionsResponse) MarshalJSON() ([]byte, error)

func (*ListPermissionsResponse) ProtoMessage

func (*ListPermissionsResponse) ProtoMessage()

func (*ListPermissionsResponse) ProtoReflect

func (m *ListPermissionsResponse) ProtoReflect() preflect.Message

func (*ListPermissionsResponse) Reset

func (m *ListPermissionsResponse) Reset()

func (*ListPermissionsResponse) SetCurrentOffset added in v0.10.1

func (m *ListPermissionsResponse) SetCurrentOffset(fv int32)

func (*ListPermissionsResponse) SetNextPageToken

func (m *ListPermissionsResponse) SetNextPageToken(fv *permission.PagerCursor)

func (*ListPermissionsResponse) SetPermissions

func (m *ListPermissionsResponse) SetPermissions(fv []*permission.Permission)

func (*ListPermissionsResponse) SetPrevPageToken

func (m *ListPermissionsResponse) SetPrevPageToken(fv *permission.PagerCursor)

func (*ListPermissionsResponse) SetTotalResultsCount added in v0.10.1

func (m *ListPermissionsResponse) SetTotalResultsCount(fv int32)

func (*ListPermissionsResponse) String

func (m *ListPermissionsResponse) String() string

func (*ListPermissionsResponse) Unmarshal

func (m *ListPermissionsResponse) Unmarshal(b []byte) error

func (*ListPermissionsResponse) UnmarshalJSON

func (m *ListPermissionsResponse) UnmarshalJSON(data []byte) error

type PermissionServiceClient

type PermissionServiceClient interface {
	GetPermission(ctx context.Context, in *GetPermissionRequest, opts ...grpc.CallOption) (*permission.Permission, error)
	BatchGetPermissions(ctx context.Context, in *BatchGetPermissionsRequest, opts ...grpc.CallOption) (*BatchGetPermissionsResponse, error)
	ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error)
	WatchPermission(ctx context.Context, in *WatchPermissionRequest, opts ...grpc.CallOption) (WatchPermissionClientStream, error)
	WatchPermissions(ctx context.Context, in *WatchPermissionsRequest, opts ...grpc.CallOption) (WatchPermissionsClientStream, error)
	CreatePermission(ctx context.Context, in *CreatePermissionRequest, opts ...grpc.CallOption) (*permission.Permission, error)
	UpdatePermission(ctx context.Context, in *UpdatePermissionRequest, opts ...grpc.CallOption) (*permission.Permission, error)
	DeletePermission(ctx context.Context, in *DeletePermissionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

PermissionServiceClient is the client API for PermissionService.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type PermissionServiceDescriptor added in v0.4.28

type PermissionServiceDescriptor struct{}

func GetPermissionServiceDescriptor added in v0.4.28

func GetPermissionServiceDescriptor() *PermissionServiceDescriptor

func (*PermissionServiceDescriptor) AllMethodDescriptors added in v0.4.28

func (d *PermissionServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor

func (*PermissionServiceDescriptor) GetApiName added in v0.4.28

func (d *PermissionServiceDescriptor) GetApiName() string

func (*PermissionServiceDescriptor) GetFullAPIName added in v0.4.28

func (d *PermissionServiceDescriptor) GetFullAPIName() string

func (*PermissionServiceDescriptor) GetProtoPkgName added in v0.4.28

func (d *PermissionServiceDescriptor) GetProtoPkgName() string

func (*PermissionServiceDescriptor) GetServiceDomain added in v0.4.28

func (d *PermissionServiceDescriptor) GetServiceDomain() string

func (*PermissionServiceDescriptor) GetServiceVersion added in v0.4.28

func (d *PermissionServiceDescriptor) GetServiceVersion() string

type UpdatePermissionDescriptor added in v0.4.28

type UpdatePermissionDescriptor struct{}

func GetUpdatePermissionDescriptor added in v0.4.28

func GetUpdatePermissionDescriptor() *UpdatePermissionDescriptor

func (*UpdatePermissionDescriptor) GetApiDescriptor added in v0.4.28

func (*UpdatePermissionDescriptor) GetApiName added in v0.4.28

func (d *UpdatePermissionDescriptor) GetApiName() string

func (*UpdatePermissionDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *UpdatePermissionDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*UpdatePermissionDescriptor) GetFullMethodName added in v0.4.28

func (d *UpdatePermissionDescriptor) GetFullMethodName() string

func (*UpdatePermissionDescriptor) GetMethodName added in v0.4.28

func (d *UpdatePermissionDescriptor) GetMethodName() string

func (*UpdatePermissionDescriptor) GetProtoPkgName added in v0.4.28

func (d *UpdatePermissionDescriptor) GetProtoPkgName() string

func (*UpdatePermissionDescriptor) GetResourceDescriptor added in v0.4.30

func (d *UpdatePermissionDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*UpdatePermissionDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *UpdatePermissionDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*UpdatePermissionDescriptor) GetServiceDomain added in v0.4.28

func (d *UpdatePermissionDescriptor) GetServiceDomain() string

func (*UpdatePermissionDescriptor) GetServiceVersion added in v0.4.28

func (d *UpdatePermissionDescriptor) GetServiceVersion() string

func (*UpdatePermissionDescriptor) GetVerb added in v0.4.28

func (d *UpdatePermissionDescriptor) GetVerb() string

func (*UpdatePermissionDescriptor) HasResource added in v0.4.30

func (d *UpdatePermissionDescriptor) HasResource() bool

func (*UpdatePermissionDescriptor) IsClientStream added in v0.4.28

func (d *UpdatePermissionDescriptor) IsClientStream() bool

func (*UpdatePermissionDescriptor) IsCollection added in v0.4.30

func (d *UpdatePermissionDescriptor) IsCollection() bool

func (*UpdatePermissionDescriptor) IsPlural added in v0.4.30

func (d *UpdatePermissionDescriptor) IsPlural() bool

func (*UpdatePermissionDescriptor) IsServerStream added in v0.4.28

func (d *UpdatePermissionDescriptor) IsServerStream() bool

func (*UpdatePermissionDescriptor) IsUnary added in v0.4.28

func (d *UpdatePermissionDescriptor) IsUnary() bool

func (*UpdatePermissionDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *UpdatePermissionDescriptor) NewEmptyClientMsg() proto.Message

func (*UpdatePermissionDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *UpdatePermissionDescriptor) NewEmptyServerMsg() proto.Message

func (*UpdatePermissionDescriptor) RequestHasResourceBody added in v0.4.28

func (d *UpdatePermissionDescriptor) RequestHasResourceBody() bool

type UpdatePermissionDescriptorClientMsgHandle added in v0.4.28

type UpdatePermissionDescriptorClientMsgHandle struct{}

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdatePermissionDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type UpdatePermissionDescriptorServerMsgHandle added in v0.4.28

type UpdatePermissionDescriptorServerMsgHandle struct{}

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*UpdatePermissionDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type UpdatePermissionRequest

type UpdatePermissionRequest struct {

	// Permission resource body
	Permission *permission.Permission `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty" firestore:"permission"`
	// FieldMask applied to request - change will be applied only for fields in
	// the mask
	UpdateMask *permission.Permission_FieldMask `` /* 146-byte string literal not displayed */
	// Conditional update applied to request if update should be executed only for
	// specific resource state. If this field is populated, then server will fetch
	// existing resource, compare with the one stored in the cas field (after
	// applying field mask) and proceed with update only and only if they match.
	// Otherwise RPC error Aborted will be returned.
	Cas *UpdatePermissionRequest_CAS `protobuf:"bytes,4,opt,name=cas,proto3" json:"cas,omitempty" firestore:"cas"`
	// If set to true, and the resource is not found,
	// a new resource will be created.  In this situation,
	// 'field_mask' is ignored.
	//
	// https://google.aip.dev/134#create-or-update
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty" firestore:"allowMissing"`
	// contains filtered or unexported fields
}

Request message for method [UpdatePermission][ntt.iam.v1alpha2.UpdatePermission]

func (*UpdatePermissionRequest) Descriptor

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

Deprecated, Use UpdatePermissionRequest.ProtoReflect.Descriptor instead.

func (*UpdatePermissionRequest) GetAllowMissing added in v0.12.33

func (m *UpdatePermissionRequest) GetAllowMissing() bool

func (*UpdatePermissionRequest) GetCas

func (*UpdatePermissionRequest) GetPermission

func (m *UpdatePermissionRequest) GetPermission() *permission.Permission

func (*UpdatePermissionRequest) GetUpdateMask

func (*UpdatePermissionRequest) GotenMessage

func (*UpdatePermissionRequest) GotenMessage()

func (*UpdatePermissionRequest) GotenValidate

func (obj *UpdatePermissionRequest) GotenValidate() error

func (*UpdatePermissionRequest) Marshal

func (m *UpdatePermissionRequest) Marshal() ([]byte, error)

func (*UpdatePermissionRequest) MarshalJSON

func (m *UpdatePermissionRequest) MarshalJSON() ([]byte, error)

func (*UpdatePermissionRequest) ProtoMessage

func (*UpdatePermissionRequest) ProtoMessage()

func (*UpdatePermissionRequest) ProtoReflect

func (m *UpdatePermissionRequest) ProtoReflect() preflect.Message

func (*UpdatePermissionRequest) Reset

func (m *UpdatePermissionRequest) Reset()

func (*UpdatePermissionRequest) SetAllowMissing added in v0.12.33

func (m *UpdatePermissionRequest) SetAllowMissing(fv bool)

func (*UpdatePermissionRequest) SetCas

func (*UpdatePermissionRequest) SetPermission

func (m *UpdatePermissionRequest) SetPermission(fv *permission.Permission)

func (*UpdatePermissionRequest) SetUpdateMask

func (*UpdatePermissionRequest) String

func (m *UpdatePermissionRequest) String() string

func (*UpdatePermissionRequest) Unmarshal

func (m *UpdatePermissionRequest) Unmarshal(b []byte) error

func (*UpdatePermissionRequest) UnmarshalJSON

func (m *UpdatePermissionRequest) UnmarshalJSON(data []byte) error

type UpdatePermissionRequest_CAS

type UpdatePermissionRequest_CAS struct {

	// Conditional desired state of a resource before update.
	ConditionalState *permission.Permission `` /* 138-byte string literal not displayed */
	// Field paths from conditional state of resource server should check and
	// compare.
	FieldMask *permission.Permission_FieldMask `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

CAS - Compare and Swap. This object is used if user wants to make update conditional based upon previous resource version.

func (*UpdatePermissionRequest_CAS) Descriptor

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

Deprecated, Use UpdatePermissionRequest_CAS.ProtoReflect.Descriptor instead.

func (*UpdatePermissionRequest_CAS) GetConditionalState

func (m *UpdatePermissionRequest_CAS) GetConditionalState() *permission.Permission

func (*UpdatePermissionRequest_CAS) GetFieldMask

func (*UpdatePermissionRequest_CAS) GotenMessage

func (*UpdatePermissionRequest_CAS) GotenMessage()

func (*UpdatePermissionRequest_CAS) GotenValidate

func (obj *UpdatePermissionRequest_CAS) GotenValidate() error

func (*UpdatePermissionRequest_CAS) Marshal

func (m *UpdatePermissionRequest_CAS) Marshal() ([]byte, error)

func (*UpdatePermissionRequest_CAS) MarshalJSON

func (m *UpdatePermissionRequest_CAS) MarshalJSON() ([]byte, error)

func (*UpdatePermissionRequest_CAS) ProtoMessage

func (*UpdatePermissionRequest_CAS) ProtoMessage()

func (*UpdatePermissionRequest_CAS) ProtoReflect

func (m *UpdatePermissionRequest_CAS) ProtoReflect() preflect.Message

func (*UpdatePermissionRequest_CAS) Reset

func (m *UpdatePermissionRequest_CAS) Reset()

func (*UpdatePermissionRequest_CAS) SetConditionalState

func (m *UpdatePermissionRequest_CAS) SetConditionalState(fv *permission.Permission)

func (*UpdatePermissionRequest_CAS) SetFieldMask

func (*UpdatePermissionRequest_CAS) String

func (m *UpdatePermissionRequest_CAS) String() string

func (*UpdatePermissionRequest_CAS) Unmarshal

func (m *UpdatePermissionRequest_CAS) Unmarshal(b []byte) error

func (*UpdatePermissionRequest_CAS) UnmarshalJSON

func (m *UpdatePermissionRequest_CAS) UnmarshalJSON(data []byte) error

type WatchPermissionClientStream

type WatchPermissionClientStream interface {
	Recv() (*WatchPermissionResponse, error)
	grpc.ClientStream
}

type WatchPermissionDescriptor added in v0.4.28

type WatchPermissionDescriptor struct{}

func GetWatchPermissionDescriptor added in v0.4.28

func GetWatchPermissionDescriptor() *WatchPermissionDescriptor

func (*WatchPermissionDescriptor) GetApiDescriptor added in v0.4.28

func (d *WatchPermissionDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor

func (*WatchPermissionDescriptor) GetApiName added in v0.4.28

func (d *WatchPermissionDescriptor) GetApiName() string

func (*WatchPermissionDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *WatchPermissionDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchPermissionDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchPermissionDescriptor) GetFullMethodName() string

func (*WatchPermissionDescriptor) GetMethodName added in v0.4.28

func (d *WatchPermissionDescriptor) GetMethodName() string

func (*WatchPermissionDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchPermissionDescriptor) GetProtoPkgName() string

func (*WatchPermissionDescriptor) GetResourceDescriptor added in v0.4.30

func (d *WatchPermissionDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchPermissionDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *WatchPermissionDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchPermissionDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchPermissionDescriptor) GetServiceDomain() string

func (*WatchPermissionDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchPermissionDescriptor) GetServiceVersion() string

func (*WatchPermissionDescriptor) GetVerb added in v0.4.28

func (d *WatchPermissionDescriptor) GetVerb() string

func (*WatchPermissionDescriptor) HasResource added in v0.4.30

func (d *WatchPermissionDescriptor) HasResource() bool

func (*WatchPermissionDescriptor) IsClientStream added in v0.4.28

func (d *WatchPermissionDescriptor) IsClientStream() bool

func (*WatchPermissionDescriptor) IsCollection added in v0.4.30

func (d *WatchPermissionDescriptor) IsCollection() bool

func (*WatchPermissionDescriptor) IsPlural added in v0.4.30

func (d *WatchPermissionDescriptor) IsPlural() bool

func (*WatchPermissionDescriptor) IsServerStream added in v0.4.28

func (d *WatchPermissionDescriptor) IsServerStream() bool

func (*WatchPermissionDescriptor) IsUnary added in v0.4.28

func (d *WatchPermissionDescriptor) IsUnary() bool

func (*WatchPermissionDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *WatchPermissionDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchPermissionDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *WatchPermissionDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchPermissionDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchPermissionDescriptor) RequestHasResourceBody() bool

type WatchPermissionDescriptorClientMsgHandle added in v0.4.28

type WatchPermissionDescriptorClientMsgHandle struct{}

func (*WatchPermissionDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchPermissionDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchPermissionDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchPermissionDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchPermissionDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchPermissionDescriptorServerMsgHandle added in v0.4.28

type WatchPermissionDescriptorServerMsgHandle struct{}

func (*WatchPermissionDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchPermissionDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchPermissionDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchPermissionDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchPermissionDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchPermissionRequest

type WatchPermissionRequest struct {

	// Name of ntt.iam.v1alpha2.Permission
	Name *permission.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view
	FieldMask *permission.Permission_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask
	View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// contains filtered or unexported fields
}

Request message for method [WatchPermission][ntt.iam.v1alpha2.WatchPermission]

func (*WatchPermissionRequest) Descriptor

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

Deprecated, Use WatchPermissionRequest.ProtoReflect.Descriptor instead.

func (*WatchPermissionRequest) GetFieldMask

func (*WatchPermissionRequest) GetName

func (m *WatchPermissionRequest) GetName() *permission.Name

func (*WatchPermissionRequest) GetView

func (m *WatchPermissionRequest) GetView() view.View

func (*WatchPermissionRequest) GotenMessage

func (*WatchPermissionRequest) GotenMessage()

func (*WatchPermissionRequest) GotenValidate

func (obj *WatchPermissionRequest) GotenValidate() error

func (*WatchPermissionRequest) Marshal

func (m *WatchPermissionRequest) Marshal() ([]byte, error)

func (*WatchPermissionRequest) MarshalJSON

func (m *WatchPermissionRequest) MarshalJSON() ([]byte, error)

func (*WatchPermissionRequest) ProtoMessage

func (*WatchPermissionRequest) ProtoMessage()

func (*WatchPermissionRequest) ProtoReflect

func (m *WatchPermissionRequest) ProtoReflect() preflect.Message

func (*WatchPermissionRequest) Reset

func (m *WatchPermissionRequest) Reset()

func (*WatchPermissionRequest) SetFieldMask

func (*WatchPermissionRequest) SetName

func (m *WatchPermissionRequest) SetName(fv *permission.Name)

func (*WatchPermissionRequest) SetView

func (m *WatchPermissionRequest) SetView(fv view.View)

func (*WatchPermissionRequest) String

func (m *WatchPermissionRequest) String() string

func (*WatchPermissionRequest) Unmarshal

func (m *WatchPermissionRequest) Unmarshal(b []byte) error

func (*WatchPermissionRequest) UnmarshalJSON

func (m *WatchPermissionRequest) UnmarshalJSON(data []byte) error

type WatchPermissionResponse

type WatchPermissionResponse struct {
	Change *permission.PermissionChange `protobuf:"bytes,1,opt,name=change,proto3" json:"change,omitempty" firestore:"change"`
	// contains filtered or unexported fields
}

WatchPermissionResponse

func (*WatchPermissionResponse) Descriptor

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

Deprecated, Use WatchPermissionResponse.ProtoReflect.Descriptor instead.

func (*WatchPermissionResponse) GetChange

func (*WatchPermissionResponse) GotenMessage

func (*WatchPermissionResponse) GotenMessage()

func (*WatchPermissionResponse) GotenValidate

func (obj *WatchPermissionResponse) GotenValidate() error

func (*WatchPermissionResponse) Marshal

func (m *WatchPermissionResponse) Marshal() ([]byte, error)

func (*WatchPermissionResponse) MarshalJSON

func (m *WatchPermissionResponse) MarshalJSON() ([]byte, error)

func (*WatchPermissionResponse) ProtoMessage

func (*WatchPermissionResponse) ProtoMessage()

func (*WatchPermissionResponse) ProtoReflect

func (m *WatchPermissionResponse) ProtoReflect() preflect.Message

func (*WatchPermissionResponse) Reset

func (m *WatchPermissionResponse) Reset()

func (*WatchPermissionResponse) SetChange

func (*WatchPermissionResponse) String

func (m *WatchPermissionResponse) String() string

func (*WatchPermissionResponse) Unmarshal

func (m *WatchPermissionResponse) Unmarshal(b []byte) error

func (*WatchPermissionResponse) UnmarshalJSON

func (m *WatchPermissionResponse) UnmarshalJSON(data []byte) error

type WatchPermissionsClientStream

type WatchPermissionsClientStream interface {
	Recv() (*WatchPermissionsResponse, error)
	grpc.ClientStream
}

type WatchPermissionsDescriptor added in v0.4.28

type WatchPermissionsDescriptor struct{}

func GetWatchPermissionsDescriptor added in v0.4.28

func GetWatchPermissionsDescriptor() *WatchPermissionsDescriptor

func (*WatchPermissionsDescriptor) GetApiDescriptor added in v0.4.28

func (*WatchPermissionsDescriptor) GetApiName added in v0.4.28

func (d *WatchPermissionsDescriptor) GetApiName() string

func (*WatchPermissionsDescriptor) GetClientMsgReflectHandle added in v0.4.28

func (d *WatchPermissionsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchPermissionsDescriptor) GetFullMethodName added in v0.4.28

func (d *WatchPermissionsDescriptor) GetFullMethodName() string

func (*WatchPermissionsDescriptor) GetMethodName added in v0.4.28

func (d *WatchPermissionsDescriptor) GetMethodName() string

func (*WatchPermissionsDescriptor) GetProtoPkgName added in v0.4.28

func (d *WatchPermissionsDescriptor) GetProtoPkgName() string

func (*WatchPermissionsDescriptor) GetResourceDescriptor added in v0.4.30

func (d *WatchPermissionsDescriptor) GetResourceDescriptor() gotenresource.Descriptor

func (*WatchPermissionsDescriptor) GetServerMsgReflectHandle added in v0.4.28

func (d *WatchPermissionsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle

func (*WatchPermissionsDescriptor) GetServiceDomain added in v0.4.28

func (d *WatchPermissionsDescriptor) GetServiceDomain() string

func (*WatchPermissionsDescriptor) GetServiceVersion added in v0.4.28

func (d *WatchPermissionsDescriptor) GetServiceVersion() string

func (*WatchPermissionsDescriptor) GetVerb added in v0.4.28

func (d *WatchPermissionsDescriptor) GetVerb() string

func (*WatchPermissionsDescriptor) HasResource added in v0.4.30

func (d *WatchPermissionsDescriptor) HasResource() bool

func (*WatchPermissionsDescriptor) IsClientStream added in v0.4.28

func (d *WatchPermissionsDescriptor) IsClientStream() bool

func (*WatchPermissionsDescriptor) IsCollection added in v0.4.30

func (d *WatchPermissionsDescriptor) IsCollection() bool

func (*WatchPermissionsDescriptor) IsPlural added in v0.4.30

func (d *WatchPermissionsDescriptor) IsPlural() bool

func (*WatchPermissionsDescriptor) IsServerStream added in v0.4.28

func (d *WatchPermissionsDescriptor) IsServerStream() bool

func (*WatchPermissionsDescriptor) IsUnary added in v0.4.28

func (d *WatchPermissionsDescriptor) IsUnary() bool

func (*WatchPermissionsDescriptor) NewEmptyClientMsg added in v0.4.28

func (d *WatchPermissionsDescriptor) NewEmptyClientMsg() proto.Message

func (*WatchPermissionsDescriptor) NewEmptyServerMsg added in v0.4.28

func (d *WatchPermissionsDescriptor) NewEmptyServerMsg() proto.Message

func (*WatchPermissionsDescriptor) RequestHasResourceBody added in v0.4.28

func (d *WatchPermissionsDescriptor) RequestHasResourceBody() bool

type WatchPermissionsDescriptorClientMsgHandle added in v0.4.28

type WatchPermissionsDescriptorClientMsgHandle struct{}

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchPermissionsDescriptorClientMsgHandle) ExtractResourceNames added in v0.4.30

type WatchPermissionsDescriptorServerMsgHandle added in v0.4.28

type WatchPermissionsDescriptorServerMsgHandle struct{}

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractCollectionName added in v0.4.30

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractResourceBodies added in v1.0.21

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractResourceBody added in v1.0.21

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractResourceName added in v0.4.30

func (*WatchPermissionsDescriptorServerMsgHandle) ExtractResourceNames added in v0.4.30

type WatchPermissionsRequest

type WatchPermissionsRequest struct {

	// Type of a watch. Identifies how server stream data to a client, which
	// fields in a request are allowed and which fields in response are relevant.
	Type watch_type.WatchType `protobuf:"varint,9,opt,name=type,proto3,enum=goten.types.WatchType" json:"type,omitempty" firestore:"type"`
	// Requested page size. Server may return fewer Permissions than requested.
	// If unspecified, server will pick an appropriate default.
	// Can be populated only for stateful watch type.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty" firestore:"pageSize"`
	// A token identifying a page of results the server should return.
	// Can be populated only for stateful watch type.
	PageToken *permission.PagerCursor `` /* 133-byte string literal not displayed */
	// Order By -
	// https://cloud.google.com/apis/design/design_patterns#list_pagination Can be
	// populated only for stateful watch type.
	OrderBy *permission.OrderBy `protobuf:"bytes,4,opt,customtype=OrderBy,name=order_by,json=orderBy,proto3" json:"order_by,omitempty" firestore:"orderBy"`
	// A token identifying watch resume point from previous session.
	// Can be populated only for stateless watch type.
	ResumeToken string `protobuf:"bytes,10,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Point in the time from which we want to start getting updates. This field
	// can be populated only for stateless watch type and if resume token is not
	// known yet. If specified, initial snapshot will NOT be provided. It is
	// assumed client can obtain it using separate means. Watch responses will
	// contain resume tokens which should be used to resume broken connection.
	StartingTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=starting_time,json=startingTime,proto3" json:"starting_time,omitempty" firestore:"startingTime"`
	// Filter - filter results by field criteria. Simplified SQL-like syntax with
	// following operators:
	// <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS
	// [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels
	// CONTAINS "severity:important" OR (state.last_error_time >
	// "2018-11-15T10:00:00Z" AND state.status = "ERROR")'
	Filter *permission.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// A list of extra fields to be obtained for each response item on top of
	// fields defined by request field view Changes to Permission that don't
	// affect any of masked fields won't be sent back.
	FieldMask *permission.Permission_FieldMask `` /* 142-byte string literal not displayed */
	// View defines list of standard response fields present in response items.
	// Additional fields can be amended by request field field_mask Changes to
	// Permission that don't affect any of masked fields won't be sent back.
	View view.View `protobuf:"varint,8,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty" firestore:"view"`
	// Maximum amount of changes in each response message. Query result response
	// is divided on the server side into chunks with size of a specified amount
	// to limit memory footprint of each message. Responses will hold information
	// whether more elements will continue for the actual change. If unspecified,
	// server will pick an appropriate default.
	MaxChunkSize int32 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [WatchPermissions][ntt.iam.v1alpha2.WatchPermissions]

func (*WatchPermissionsRequest) Descriptor

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

Deprecated, Use WatchPermissionsRequest.ProtoReflect.Descriptor instead.

func (*WatchPermissionsRequest) GetFieldMask

func (*WatchPermissionsRequest) GetFilter

func (m *WatchPermissionsRequest) GetFilter() *permission.Filter

func (*WatchPermissionsRequest) GetMaxChunkSize

func (m *WatchPermissionsRequest) GetMaxChunkSize() int32

func (*WatchPermissionsRequest) GetOrderBy

func (m *WatchPermissionsRequest) GetOrderBy() *permission.OrderBy

func (*WatchPermissionsRequest) GetPageSize

func (m *WatchPermissionsRequest) GetPageSize() int32

func (*WatchPermissionsRequest) GetPageToken

func (m *WatchPermissionsRequest) GetPageToken() *permission.PagerCursor

func (*WatchPermissionsRequest) GetResumeToken

func (m *WatchPermissionsRequest) GetResumeToken() string

func (*WatchPermissionsRequest) GetStartingTime added in v0.9.0

func (m *WatchPermissionsRequest) GetStartingTime() *timestamppb.Timestamp

func (*WatchPermissionsRequest) GetType

func (*WatchPermissionsRequest) GetView

func (m *WatchPermissionsRequest) GetView() view.View

func (*WatchPermissionsRequest) GotenMessage

func (*WatchPermissionsRequest) GotenMessage()

func (*WatchPermissionsRequest) GotenValidate

func (obj *WatchPermissionsRequest) GotenValidate() error

func (*WatchPermissionsRequest) Marshal

func (m *WatchPermissionsRequest) Marshal() ([]byte, error)

func (*WatchPermissionsRequest) MarshalJSON

func (m *WatchPermissionsRequest) MarshalJSON() ([]byte, error)

func (*WatchPermissionsRequest) ProtoMessage

func (*WatchPermissionsRequest) ProtoMessage()

func (*WatchPermissionsRequest) ProtoReflect

func (m *WatchPermissionsRequest) ProtoReflect() preflect.Message

func (*WatchPermissionsRequest) Reset

func (m *WatchPermissionsRequest) Reset()

func (*WatchPermissionsRequest) SetFieldMask

func (*WatchPermissionsRequest) SetFilter

func (m *WatchPermissionsRequest) SetFilter(fv *permission.Filter)

func (*WatchPermissionsRequest) SetMaxChunkSize

func (m *WatchPermissionsRequest) SetMaxChunkSize(fv int32)

func (*WatchPermissionsRequest) SetOrderBy

func (m *WatchPermissionsRequest) SetOrderBy(fv *permission.OrderBy)

func (*WatchPermissionsRequest) SetPageSize

func (m *WatchPermissionsRequest) SetPageSize(fv int32)

func (*WatchPermissionsRequest) SetPageToken

func (m *WatchPermissionsRequest) SetPageToken(fv *permission.PagerCursor)

func (*WatchPermissionsRequest) SetResumeToken

func (m *WatchPermissionsRequest) SetResumeToken(fv string)

func (*WatchPermissionsRequest) SetStartingTime added in v0.9.0

func (m *WatchPermissionsRequest) SetStartingTime(fv *timestamppb.Timestamp)

func (*WatchPermissionsRequest) SetType

func (*WatchPermissionsRequest) SetView

func (m *WatchPermissionsRequest) SetView(fv view.View)

func (*WatchPermissionsRequest) String

func (m *WatchPermissionsRequest) String() string

func (*WatchPermissionsRequest) Unmarshal

func (m *WatchPermissionsRequest) Unmarshal(b []byte) error

func (*WatchPermissionsRequest) UnmarshalJSON

func (m *WatchPermissionsRequest) UnmarshalJSON(data []byte) error

type WatchPermissionsResponse

type WatchPermissionsResponse struct {

	// Changes of Permissions
	PermissionChanges []*permission.PermissionChange `` /* 142-byte string literal not displayed */
	// If request specified max_chunk_size (or this limit was enforced if
	// stateless watch has been chosen), then responses with "full changeset" will
	// be divided into chunks. Client should keep receiving messages and, once
	// is_current has value true, combine this recent message with all previous
	// ones where is_current is false. If this is the first is_current in a whole
	// watch stream, then it means that client should have, at this moment,
	// contain snapshot of the current situation (or more accurately, snapshot of
	// situation at the moment of request). All Permissions will be of type
	// Added/Current (depending on watch_type specified in the request). Further
	// responses will be incremental - however messages may still be chunked and
	// is_current logic still applies. is_current is always true for stateful
	// watch if max_chunk_size was left to 0.
	IsCurrent bool `protobuf:"varint,4,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"`
	// When present, PageTokens used for page navigation should be updated.
	// Present only if is_current is true (last chunk).
	PageTokenChange *WatchPermissionsResponse_PageTokenChange `` /* 136-byte string literal not displayed */
	// Token that can be used if current connection drops and client needs to
	// reconnect. Populated only for stateless watch type. Present only if
	// is_current is true (last chunk).
	ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// Server may occasionally send information how many resources should client
	// have in its state so far (response message without any changes, but with
	// snapshot_size field specified). If client has different value than the one
	// sent by the server, then it should be treated by a client as an error and
	// should reconnect. If value is smaller then 0, then client should ignore
	// this field as unpopulated. This field should be checked only for stateless
	// watch. In stateful those kind of errors are handled by the server side.
	// Will be never sent together with is_current, is_soft_reset and
	// is_hard_reset flags.
	SnapshotSize int64 `protobuf:"varint,6,opt,name=snapshot_size,json=snapshotSize,proto3" json:"snapshot_size,omitempty" firestore:"snapshotSize"`
	// In case of internal issue server may send response message with this flag.
	// It indicates that client should drop all changes from recent responses
	// where is_current is false only! If last message had is_current set to true,
	// client should do nothing and process normally. Resume token received before
	// is still valid. This field should be checked only for stateless watch. In
	// stateful those kind of errors are handled by the server side. Will never be
	// sent along with is_current, is_hard_reset or snapshot_size.
	IsSoftReset bool `protobuf:"varint,7,opt,name=is_soft_reset,json=isSoftReset,proto3" json:"is_soft_reset,omitempty" firestore:"isSoftReset"`
	// In case of internal issue server may send response message with this flag.
	// After receiving, client should clear whole state (drop all changes received
	// so far) as server will send new snapshot (Permissions will contains changes
	// of type Current only). Any resume tokens should be discarded as well. This
	// field should be checked only for stateless watch. In stateful those kind of
	// errors are handled by the server side. Will never be sent along with
	// is_current, is_soft_reset or snapshot_size.
	IsHardReset bool `protobuf:"varint,8,opt,name=is_hard_reset,json=isHardReset,proto3" json:"is_hard_reset,omitempty" firestore:"isHardReset"`
	// contains filtered or unexported fields
}

WatchPermissionsResponse

func (*WatchPermissionsResponse) Descriptor

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

Deprecated, Use WatchPermissionsResponse.ProtoReflect.Descriptor instead.

func (*WatchPermissionsResponse) GetIsCurrent

func (m *WatchPermissionsResponse) GetIsCurrent() bool

func (*WatchPermissionsResponse) GetIsHardReset

func (m *WatchPermissionsResponse) GetIsHardReset() bool

func (*WatchPermissionsResponse) GetIsSoftReset

func (m *WatchPermissionsResponse) GetIsSoftReset() bool

func (*WatchPermissionsResponse) GetPageTokenChange

func (*WatchPermissionsResponse) GetPermissionChanges

func (m *WatchPermissionsResponse) GetPermissionChanges() []*permission.PermissionChange

func (*WatchPermissionsResponse) GetResumeToken

func (m *WatchPermissionsResponse) GetResumeToken() string

func (*WatchPermissionsResponse) GetSnapshotSize

func (m *WatchPermissionsResponse) GetSnapshotSize() int64

func (*WatchPermissionsResponse) GotenMessage

func (*WatchPermissionsResponse) GotenMessage()

func (*WatchPermissionsResponse) GotenValidate

func (obj *WatchPermissionsResponse) GotenValidate() error

func (*WatchPermissionsResponse) Marshal

func (m *WatchPermissionsResponse) Marshal() ([]byte, error)

func (*WatchPermissionsResponse) MarshalJSON

func (m *WatchPermissionsResponse) MarshalJSON() ([]byte, error)

func (*WatchPermissionsResponse) ProtoMessage

func (*WatchPermissionsResponse) ProtoMessage()

func (*WatchPermissionsResponse) ProtoReflect

func (m *WatchPermissionsResponse) ProtoReflect() preflect.Message

func (*WatchPermissionsResponse) Reset

func (m *WatchPermissionsResponse) Reset()

func (*WatchPermissionsResponse) SetIsCurrent

func (m *WatchPermissionsResponse) SetIsCurrent(fv bool)

func (*WatchPermissionsResponse) SetIsHardReset

func (m *WatchPermissionsResponse) SetIsHardReset(fv bool)

func (*WatchPermissionsResponse) SetIsSoftReset

func (m *WatchPermissionsResponse) SetIsSoftReset(fv bool)

func (*WatchPermissionsResponse) SetPageTokenChange

func (*WatchPermissionsResponse) SetPermissionChanges

func (m *WatchPermissionsResponse) SetPermissionChanges(fv []*permission.PermissionChange)

func (*WatchPermissionsResponse) SetResumeToken

func (m *WatchPermissionsResponse) SetResumeToken(fv string)

func (*WatchPermissionsResponse) SetSnapshotSize

func (m *WatchPermissionsResponse) SetSnapshotSize(fv int64)

func (*WatchPermissionsResponse) String

func (m *WatchPermissionsResponse) String() string

func (*WatchPermissionsResponse) Unmarshal

func (m *WatchPermissionsResponse) Unmarshal(b []byte) error

func (*WatchPermissionsResponse) UnmarshalJSON

func (m *WatchPermissionsResponse) UnmarshalJSON(data []byte) error

type WatchPermissionsResponse_PageTokenChange

type WatchPermissionsResponse_PageTokenChange struct {

	// New token to retrieve previous page of results.
	PrevPageToken *permission.PagerCursor `` /* 151-byte string literal not displayed */
	// New token to retrieve next page of results.
	NextPageToken *permission.PagerCursor `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WatchPermissionsResponse_PageTokenChange) Descriptor

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

Deprecated, Use WatchPermissionsResponse_PageTokenChange.ProtoReflect.Descriptor instead.

func (*WatchPermissionsResponse_PageTokenChange) GetNextPageToken

func (*WatchPermissionsResponse_PageTokenChange) GetPrevPageToken

func (*WatchPermissionsResponse_PageTokenChange) GotenMessage

func (*WatchPermissionsResponse_PageTokenChange) GotenValidate

func (obj *WatchPermissionsResponse_PageTokenChange) GotenValidate() error

func (*WatchPermissionsResponse_PageTokenChange) Marshal

func (*WatchPermissionsResponse_PageTokenChange) MarshalJSON

func (m *WatchPermissionsResponse_PageTokenChange) MarshalJSON() ([]byte, error)

func (*WatchPermissionsResponse_PageTokenChange) ProtoMessage

func (*WatchPermissionsResponse_PageTokenChange) ProtoReflect

func (*WatchPermissionsResponse_PageTokenChange) Reset

func (*WatchPermissionsResponse_PageTokenChange) SetNextPageToken

func (*WatchPermissionsResponse_PageTokenChange) SetPrevPageToken

func (*WatchPermissionsResponse_PageTokenChange) String

func (*WatchPermissionsResponse_PageTokenChange) Unmarshal

func (*WatchPermissionsResponse_PageTokenChange) UnmarshalJSON

func (m *WatchPermissionsResponse_PageTokenChange) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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