authorization_client

package
v1.0.41 Latest Latest
Warning

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

Go to latest
Published: May 1, 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 AuthorizationServiceClient

type AuthorizationServiceClient interface {
	GetPrincipal(ctx context.Context, in *GetPrincipalRequest, opts ...grpc.CallOption) (*GetPrincipalResponse, error)
	WatchPrincipalUpdates(ctx context.Context, in *WatchPrincipalUpdatesRequest, opts ...grpc.CallOption) (WatchPrincipalUpdatesClientStream, error)
	CheckMyRoleBindings(ctx context.Context, in *CheckMyRoleBindingsRequest, opts ...grpc.CallOption) (*CheckMyRoleBindingsResponse, error)
}

AuthorizationServiceClient is the client API for AuthorizationService.

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

type AuthorizationServiceDescriptor

type AuthorizationServiceDescriptor struct{}

func GetAuthorizationServiceDescriptor

func GetAuthorizationServiceDescriptor() *AuthorizationServiceDescriptor

func (*AuthorizationServiceDescriptor) AllMethodDescriptors

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

func (*AuthorizationServiceDescriptor) GetApiName

func (d *AuthorizationServiceDescriptor) GetApiName() string

func (*AuthorizationServiceDescriptor) GetFullAPIName

func (d *AuthorizationServiceDescriptor) GetFullAPIName() string

func (*AuthorizationServiceDescriptor) GetProtoPkgName

func (d *AuthorizationServiceDescriptor) GetProtoPkgName() string

func (*AuthorizationServiceDescriptor) GetServiceDomain

func (d *AuthorizationServiceDescriptor) GetServiceDomain() string

func (*AuthorizationServiceDescriptor) GetServiceVersion

func (d *AuthorizationServiceDescriptor) GetServiceVersion() string

type CheckMyRoleBindingsDescriptor

type CheckMyRoleBindingsDescriptor struct{}

func GetCheckMyRoleBindingsDescriptor

func GetCheckMyRoleBindingsDescriptor() *CheckMyRoleBindingsDescriptor

func (*CheckMyRoleBindingsDescriptor) GetApiDescriptor

func (*CheckMyRoleBindingsDescriptor) GetApiName

func (d *CheckMyRoleBindingsDescriptor) GetApiName() string

func (*CheckMyRoleBindingsDescriptor) GetClientMsgReflectHandle

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

func (*CheckMyRoleBindingsDescriptor) GetFullMethodName

func (d *CheckMyRoleBindingsDescriptor) GetFullMethodName() string

func (*CheckMyRoleBindingsDescriptor) GetMethodName

func (d *CheckMyRoleBindingsDescriptor) GetMethodName() string

func (*CheckMyRoleBindingsDescriptor) GetProtoPkgName

func (d *CheckMyRoleBindingsDescriptor) GetProtoPkgName() string

func (*CheckMyRoleBindingsDescriptor) GetResourceDescriptor

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

func (*CheckMyRoleBindingsDescriptor) GetServerMsgReflectHandle

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

func (*CheckMyRoleBindingsDescriptor) GetServiceDomain

func (d *CheckMyRoleBindingsDescriptor) GetServiceDomain() string

func (*CheckMyRoleBindingsDescriptor) GetServiceVersion

func (d *CheckMyRoleBindingsDescriptor) GetServiceVersion() string

func (*CheckMyRoleBindingsDescriptor) GetVerb

func (*CheckMyRoleBindingsDescriptor) HasResource

func (d *CheckMyRoleBindingsDescriptor) HasResource() bool

func (*CheckMyRoleBindingsDescriptor) IsClientStream

func (d *CheckMyRoleBindingsDescriptor) IsClientStream() bool

func (*CheckMyRoleBindingsDescriptor) IsCollection

func (d *CheckMyRoleBindingsDescriptor) IsCollection() bool

func (*CheckMyRoleBindingsDescriptor) IsPlural

func (d *CheckMyRoleBindingsDescriptor) IsPlural() bool

func (*CheckMyRoleBindingsDescriptor) IsServerStream

func (d *CheckMyRoleBindingsDescriptor) IsServerStream() bool

func (*CheckMyRoleBindingsDescriptor) IsUnary

func (d *CheckMyRoleBindingsDescriptor) IsUnary() bool

func (*CheckMyRoleBindingsDescriptor) NewEmptyClientMsg

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

func (*CheckMyRoleBindingsDescriptor) NewEmptyServerMsg

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

func (*CheckMyRoleBindingsDescriptor) RequestHasResourceBody

func (d *CheckMyRoleBindingsDescriptor) RequestHasResourceBody() bool

type CheckMyRoleBindingsDescriptorClientMsgHandle

type CheckMyRoleBindingsDescriptorClientMsgHandle struct{}

func (*CheckMyRoleBindingsDescriptorClientMsgHandle) ExtractCollectionName

func (*CheckMyRoleBindingsDescriptorClientMsgHandle) ExtractResourceBodies

func (*CheckMyRoleBindingsDescriptorClientMsgHandle) ExtractResourceBody

func (*CheckMyRoleBindingsDescriptorClientMsgHandle) ExtractResourceName

func (*CheckMyRoleBindingsDescriptorClientMsgHandle) ExtractResourceNames

type CheckMyRoleBindingsDescriptorServerMsgHandle

type CheckMyRoleBindingsDescriptorServerMsgHandle struct{}

func (*CheckMyRoleBindingsDescriptorServerMsgHandle) ExtractCollectionName

func (*CheckMyRoleBindingsDescriptorServerMsgHandle) ExtractResourceBodies

func (*CheckMyRoleBindingsDescriptorServerMsgHandle) ExtractResourceBody

func (*CheckMyRoleBindingsDescriptorServerMsgHandle) ExtractResourceName

func (*CheckMyRoleBindingsDescriptorServerMsgHandle) ExtractResourceNames

type CheckMyRoleBindingsRequest

type CheckMyRoleBindingsRequest struct {

	// Scope determines where roles should be looked from - its either system,
	// service, project or organization scope. However, if it contains an
	// organization or project, CheckMyRoles will perform check on all ancestry
	// path (parent organizations).
	Parent *role_binding.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Optional additional filter to apply on role bindings returned
	// 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 *role_binding.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty" firestore:"filter"`
	// Custom field mask to apply on role bindings. By default, is none is
	// specified, following is used: [ "name", "role", "scope_params",
	// "executable_conditions", "owned_objects" ].
	CustomFieldMask *role_binding.RoleBinding_FieldMask `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for method [CheckMyRoleBindings][ntt.iam.v1.CheckMyRoleBindings]

func (*CheckMyRoleBindingsRequest) Descriptor

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

Deprecated, Use CheckMyRoleBindingsRequest.ProtoReflect.Descriptor instead.

func (*CheckMyRoleBindingsRequest) GetCustomFieldMask

func (*CheckMyRoleBindingsRequest) GetFilter

func (*CheckMyRoleBindingsRequest) GetParent

func (*CheckMyRoleBindingsRequest) GotenMessage

func (*CheckMyRoleBindingsRequest) GotenMessage()

func (*CheckMyRoleBindingsRequest) GotenValidate

func (obj *CheckMyRoleBindingsRequest) GotenValidate() error

func (*CheckMyRoleBindingsRequest) Marshal

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

func (*CheckMyRoleBindingsRequest) MarshalJSON

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

func (*CheckMyRoleBindingsRequest) ProtoMessage

func (*CheckMyRoleBindingsRequest) ProtoMessage()

func (*CheckMyRoleBindingsRequest) ProtoReflect

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

func (*CheckMyRoleBindingsRequest) Reset

func (m *CheckMyRoleBindingsRequest) Reset()

func (*CheckMyRoleBindingsRequest) SetCustomFieldMask

func (*CheckMyRoleBindingsRequest) SetFilter

func (*CheckMyRoleBindingsRequest) SetParent

func (*CheckMyRoleBindingsRequest) String

func (m *CheckMyRoleBindingsRequest) String() string

func (*CheckMyRoleBindingsRequest) Unmarshal

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

func (*CheckMyRoleBindingsRequest) UnmarshalJSON

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

type CheckMyRoleBindingsResponse

type CheckMyRoleBindingsResponse struct {

	// List of returned role bindings with corresponding grants.
	ResolvableGrants []*CheckMyRoleBindingsResponse_ResolvableGrant `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Response message for method [CheckMyRoles][ntt.iam.v1.CheckMyRoles]

func (*CheckMyRoleBindingsResponse) Descriptor

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

Deprecated, Use CheckMyRoleBindingsResponse.ProtoReflect.Descriptor instead.

func (*CheckMyRoleBindingsResponse) GetResolvableGrants

func (*CheckMyRoleBindingsResponse) GotenMessage

func (*CheckMyRoleBindingsResponse) GotenMessage()

func (*CheckMyRoleBindingsResponse) GotenValidate

func (obj *CheckMyRoleBindingsResponse) GotenValidate() error

func (*CheckMyRoleBindingsResponse) Marshal

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

func (*CheckMyRoleBindingsResponse) MarshalJSON

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

func (*CheckMyRoleBindingsResponse) ProtoMessage

func (*CheckMyRoleBindingsResponse) ProtoMessage()

func (*CheckMyRoleBindingsResponse) ProtoReflect

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

func (*CheckMyRoleBindingsResponse) Reset

func (m *CheckMyRoleBindingsResponse) Reset()

func (*CheckMyRoleBindingsResponse) SetResolvableGrants

func (*CheckMyRoleBindingsResponse) String

func (m *CheckMyRoleBindingsResponse) String() string

func (*CheckMyRoleBindingsResponse) Unmarshal

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

func (*CheckMyRoleBindingsResponse) UnmarshalJSON

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

type CheckMyRoleBindingsResponse_ResolvableGrant

type CheckMyRoleBindingsResponse_ResolvableGrant struct {

	// Granted RoleBinding for the scope
	RoleBinding *role_binding.RoleBinding `protobuf:"bytes,1,opt,name=role_binding,json=roleBinding,proto3" json:"role_binding,omitempty" firestore:"roleBinding"`
	// All grants extracted from the Role
	Grants []*role.Role_Grant `protobuf:"bytes,2,rep,name=grants,proto3" json:"grants,omitempty" firestore:"grants"`
	// contains filtered or unexported fields
}

func (*CheckMyRoleBindingsResponse_ResolvableGrant) Descriptor

Deprecated, Use CheckMyRoleBindingsResponse_ResolvableGrant.ProtoReflect.Descriptor instead.

func (*CheckMyRoleBindingsResponse_ResolvableGrant) GetGrants

func (*CheckMyRoleBindingsResponse_ResolvableGrant) GetRoleBinding

func (*CheckMyRoleBindingsResponse_ResolvableGrant) GotenMessage

func (*CheckMyRoleBindingsResponse_ResolvableGrant) GotenValidate

func (*CheckMyRoleBindingsResponse_ResolvableGrant) Marshal

func (*CheckMyRoleBindingsResponse_ResolvableGrant) MarshalJSON

func (*CheckMyRoleBindingsResponse_ResolvableGrant) ProtoMessage

func (*CheckMyRoleBindingsResponse_ResolvableGrant) ProtoReflect

func (*CheckMyRoleBindingsResponse_ResolvableGrant) Reset

func (*CheckMyRoleBindingsResponse_ResolvableGrant) SetGrants

func (*CheckMyRoleBindingsResponse_ResolvableGrant) SetRoleBinding

func (*CheckMyRoleBindingsResponse_ResolvableGrant) String

func (*CheckMyRoleBindingsResponse_ResolvableGrant) Unmarshal

func (*CheckMyRoleBindingsResponse_ResolvableGrant) UnmarshalJSON

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

type GetPrincipalDescriptor

type GetPrincipalDescriptor struct{}

func GetGetPrincipalDescriptor

func GetGetPrincipalDescriptor() *GetPrincipalDescriptor

func (*GetPrincipalDescriptor) GetApiDescriptor

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

func (*GetPrincipalDescriptor) GetApiName

func (d *GetPrincipalDescriptor) GetApiName() string

func (*GetPrincipalDescriptor) GetClientMsgReflectHandle

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

func (*GetPrincipalDescriptor) GetFullMethodName

func (d *GetPrincipalDescriptor) GetFullMethodName() string

func (*GetPrincipalDescriptor) GetMethodName

func (d *GetPrincipalDescriptor) GetMethodName() string

func (*GetPrincipalDescriptor) GetProtoPkgName

func (d *GetPrincipalDescriptor) GetProtoPkgName() string

func (*GetPrincipalDescriptor) GetResourceDescriptor

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

func (*GetPrincipalDescriptor) GetServerMsgReflectHandle

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

func (*GetPrincipalDescriptor) GetServiceDomain

func (d *GetPrincipalDescriptor) GetServiceDomain() string

func (*GetPrincipalDescriptor) GetServiceVersion

func (d *GetPrincipalDescriptor) GetServiceVersion() string

func (*GetPrincipalDescriptor) GetVerb

func (d *GetPrincipalDescriptor) GetVerb() string

func (*GetPrincipalDescriptor) HasResource

func (d *GetPrincipalDescriptor) HasResource() bool

func (*GetPrincipalDescriptor) IsClientStream

func (d *GetPrincipalDescriptor) IsClientStream() bool

func (*GetPrincipalDescriptor) IsCollection

func (d *GetPrincipalDescriptor) IsCollection() bool

func (*GetPrincipalDescriptor) IsPlural

func (d *GetPrincipalDescriptor) IsPlural() bool

func (*GetPrincipalDescriptor) IsServerStream

func (d *GetPrincipalDescriptor) IsServerStream() bool

func (*GetPrincipalDescriptor) IsUnary

func (d *GetPrincipalDescriptor) IsUnary() bool

func (*GetPrincipalDescriptor) NewEmptyClientMsg

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

func (*GetPrincipalDescriptor) NewEmptyServerMsg

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

func (*GetPrincipalDescriptor) RequestHasResourceBody

func (d *GetPrincipalDescriptor) RequestHasResourceBody() bool

type GetPrincipalDescriptorClientMsgHandle

type GetPrincipalDescriptorClientMsgHandle struct{}

func (*GetPrincipalDescriptorClientMsgHandle) ExtractCollectionName

func (*GetPrincipalDescriptorClientMsgHandle) ExtractResourceBodies

func (*GetPrincipalDescriptorClientMsgHandle) ExtractResourceBody

func (*GetPrincipalDescriptorClientMsgHandle) ExtractResourceName

func (*GetPrincipalDescriptorClientMsgHandle) ExtractResourceNames

type GetPrincipalDescriptorServerMsgHandle

type GetPrincipalDescriptorServerMsgHandle struct{}

func (*GetPrincipalDescriptorServerMsgHandle) ExtractCollectionName

func (*GetPrincipalDescriptorServerMsgHandle) ExtractResourceBodies

func (*GetPrincipalDescriptorServerMsgHandle) ExtractResourceBody

func (*GetPrincipalDescriptorServerMsgHandle) ExtractResourceName

func (*GetPrincipalDescriptorServerMsgHandle) ExtractResourceNames

type GetPrincipalRequest

type GetPrincipalRequest struct {

	// Service asking for given principal - IAM verifies if given principal has
	// any role bindings in requesting service.
	RequestingService *meta_service.Name `` /* 158-byte string literal not displayed */
	// Principal ID, different for users or service accounts
	PrincipalKeyId string `` /* 132-byte string literal not displayed */
	// Region ID where data is known to be stored
	RegionId string `protobuf:"bytes,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty" firestore:"regionId"`
	// User authorization token
	AuthToken string `protobuf:"bytes,4,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty" firestore:"authToken"`
	// contains filtered or unexported fields
}

Request message for method [GetPrincipal][ntt.iam.v1.GetPrincipal]

func (*GetPrincipalRequest) Descriptor

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

Deprecated, Use GetPrincipalRequest.ProtoReflect.Descriptor instead.

func (*GetPrincipalRequest) GetAuthToken

func (m *GetPrincipalRequest) GetAuthToken() string

func (*GetPrincipalRequest) GetPrincipalKeyId

func (m *GetPrincipalRequest) GetPrincipalKeyId() string

func (*GetPrincipalRequest) GetRegionId

func (m *GetPrincipalRequest) GetRegionId() string

func (*GetPrincipalRequest) GetRequestingService

func (m *GetPrincipalRequest) GetRequestingService() *meta_service.Name

func (*GetPrincipalRequest) GotenMessage

func (*GetPrincipalRequest) GotenMessage()

func (*GetPrincipalRequest) GotenValidate

func (obj *GetPrincipalRequest) GotenValidate() error

func (*GetPrincipalRequest) Marshal

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

func (*GetPrincipalRequest) MarshalJSON

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

func (*GetPrincipalRequest) ProtoMessage

func (*GetPrincipalRequest) ProtoMessage()

func (*GetPrincipalRequest) ProtoReflect

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

func (*GetPrincipalRequest) Reset

func (m *GetPrincipalRequest) Reset()

func (*GetPrincipalRequest) SetAuthToken

func (m *GetPrincipalRequest) SetAuthToken(fv string)

func (*GetPrincipalRequest) SetPrincipalKeyId

func (m *GetPrincipalRequest) SetPrincipalKeyId(fv string)

func (*GetPrincipalRequest) SetRegionId

func (m *GetPrincipalRequest) SetRegionId(fv string)

func (*GetPrincipalRequest) SetRequestingService

func (m *GetPrincipalRequest) SetRequestingService(fv *meta_service.Name)

func (*GetPrincipalRequest) String

func (m *GetPrincipalRequest) String() string

func (*GetPrincipalRequest) Unmarshal

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

func (*GetPrincipalRequest) UnmarshalJSON

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

type GetPrincipalResponse

type GetPrincipalResponse struct {

	// Public json key
	JsonKey string `protobuf:"bytes,1,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty" firestore:"jsonKey"`
	// Key type
	PrincipalKeyType string `` /* 140-byte string literal not displayed */
	// Types that are valid to be assigned to Principal:
	//	*GetPrincipalResponse_User
	//	*GetPrincipalResponse_ServiceAccount
	//	*GetPrincipalResponse_Anonymous
	Principal isGetPrincipalResponse_Principal `protobuf_oneof:"principal"`
	// contains filtered or unexported fields
}

Response message for method [GetPrincipal][ntt.iam.v1.GetPrincipal]

func (*GetPrincipalResponse) Descriptor

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

Deprecated, Use GetPrincipalResponse.ProtoReflect.Descriptor instead.

func (*GetPrincipalResponse) GetAnonymous

func (m *GetPrincipalResponse) GetAnonymous() bool

func (*GetPrincipalResponse) GetJsonKey

func (m *GetPrincipalResponse) GetJsonKey() string

func (*GetPrincipalResponse) GetPrincipal

func (m *GetPrincipalResponse) GetPrincipal() isGetPrincipalResponse_Principal

func (*GetPrincipalResponse) GetPrincipalKeyType

func (m *GetPrincipalResponse) GetPrincipalKeyType() string

func (*GetPrincipalResponse) GetServiceAccount

func (m *GetPrincipalResponse) GetServiceAccount() *service_account.ServiceAccount

func (*GetPrincipalResponse) GetUser

func (m *GetPrincipalResponse) GetUser() *user.User

func (*GetPrincipalResponse) GotenMessage

func (*GetPrincipalResponse) GotenMessage()

func (*GetPrincipalResponse) GotenValidate

func (obj *GetPrincipalResponse) GotenValidate() error

func (*GetPrincipalResponse) Marshal

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

func (*GetPrincipalResponse) MarshalJSON

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

func (*GetPrincipalResponse) ProtoMessage

func (*GetPrincipalResponse) ProtoMessage()

func (*GetPrincipalResponse) ProtoReflect

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

func (*GetPrincipalResponse) Reset

func (m *GetPrincipalResponse) Reset()

func (*GetPrincipalResponse) SetAnonymous

func (m *GetPrincipalResponse) SetAnonymous(fv bool)

func (*GetPrincipalResponse) SetJsonKey

func (m *GetPrincipalResponse) SetJsonKey(fv string)

func (*GetPrincipalResponse) SetPrincipal

func (m *GetPrincipalResponse) SetPrincipal(ofv isGetPrincipalResponse_Principal)

func (*GetPrincipalResponse) SetPrincipalKeyType

func (m *GetPrincipalResponse) SetPrincipalKeyType(fv string)

func (*GetPrincipalResponse) SetServiceAccount

func (m *GetPrincipalResponse) SetServiceAccount(fv *service_account.ServiceAccount)

func (*GetPrincipalResponse) SetUser

func (m *GetPrincipalResponse) SetUser(fv *user.User)

func (*GetPrincipalResponse) String

func (m *GetPrincipalResponse) String() string

func (*GetPrincipalResponse) Unmarshal

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

func (*GetPrincipalResponse) UnmarshalJSON

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

type GetPrincipalResponse_Anonymous

type GetPrincipalResponse_Anonymous struct {
	// Anonymous principal
	Anonymous bool `protobuf:"varint,5,opt,name=anonymous,proto3,oneof" firestore:"anonymous"`
}

type GetPrincipalResponse_ServiceAccount

type GetPrincipalResponse_ServiceAccount struct {
	// Service account mapping principal
	ServiceAccount *service_account.ServiceAccount `protobuf:"bytes,4,opt,name=service_account,json=serviceAccount,proto3,oneof" firestore:"serviceAccount"`
}

type GetPrincipalResponse_User

type GetPrincipalResponse_User struct {
	// User data mapping principal
	User *user.User `protobuf:"bytes,3,opt,name=user,proto3,oneof" firestore:"user"`
}

type WatchPrincipalUpdatesClientStream

type WatchPrincipalUpdatesClientStream interface {
	Recv() (*WatchPrincipalUpdatesResponse, error)
	grpc.ClientStream
}

type WatchPrincipalUpdatesDescriptor

type WatchPrincipalUpdatesDescriptor struct{}

func GetWatchPrincipalUpdatesDescriptor

func GetWatchPrincipalUpdatesDescriptor() *WatchPrincipalUpdatesDescriptor

func (*WatchPrincipalUpdatesDescriptor) GetApiDescriptor

func (*WatchPrincipalUpdatesDescriptor) GetApiName

func (d *WatchPrincipalUpdatesDescriptor) GetApiName() string

func (*WatchPrincipalUpdatesDescriptor) GetClientMsgReflectHandle

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

func (*WatchPrincipalUpdatesDescriptor) GetFullMethodName

func (d *WatchPrincipalUpdatesDescriptor) GetFullMethodName() string

func (*WatchPrincipalUpdatesDescriptor) GetMethodName

func (d *WatchPrincipalUpdatesDescriptor) GetMethodName() string

func (*WatchPrincipalUpdatesDescriptor) GetProtoPkgName

func (d *WatchPrincipalUpdatesDescriptor) GetProtoPkgName() string

func (*WatchPrincipalUpdatesDescriptor) GetResourceDescriptor

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

func (*WatchPrincipalUpdatesDescriptor) GetServerMsgReflectHandle

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

func (*WatchPrincipalUpdatesDescriptor) GetServiceDomain

func (d *WatchPrincipalUpdatesDescriptor) GetServiceDomain() string

func (*WatchPrincipalUpdatesDescriptor) GetServiceVersion

func (d *WatchPrincipalUpdatesDescriptor) GetServiceVersion() string

func (*WatchPrincipalUpdatesDescriptor) GetVerb

func (*WatchPrincipalUpdatesDescriptor) HasResource

func (d *WatchPrincipalUpdatesDescriptor) HasResource() bool

func (*WatchPrincipalUpdatesDescriptor) IsClientStream

func (d *WatchPrincipalUpdatesDescriptor) IsClientStream() bool

func (*WatchPrincipalUpdatesDescriptor) IsCollection

func (d *WatchPrincipalUpdatesDescriptor) IsCollection() bool

func (*WatchPrincipalUpdatesDescriptor) IsPlural

func (d *WatchPrincipalUpdatesDescriptor) IsPlural() bool

func (*WatchPrincipalUpdatesDescriptor) IsServerStream

func (d *WatchPrincipalUpdatesDescriptor) IsServerStream() bool

func (*WatchPrincipalUpdatesDescriptor) IsUnary

func (*WatchPrincipalUpdatesDescriptor) NewEmptyClientMsg

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

func (*WatchPrincipalUpdatesDescriptor) NewEmptyServerMsg

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

func (*WatchPrincipalUpdatesDescriptor) RequestHasResourceBody

func (d *WatchPrincipalUpdatesDescriptor) RequestHasResourceBody() bool

type WatchPrincipalUpdatesDescriptorClientMsgHandle

type WatchPrincipalUpdatesDescriptorClientMsgHandle struct{}

func (*WatchPrincipalUpdatesDescriptorClientMsgHandle) ExtractCollectionName

func (*WatchPrincipalUpdatesDescriptorClientMsgHandle) ExtractResourceBodies

func (*WatchPrincipalUpdatesDescriptorClientMsgHandle) ExtractResourceBody

func (*WatchPrincipalUpdatesDescriptorClientMsgHandle) ExtractResourceName

func (*WatchPrincipalUpdatesDescriptorClientMsgHandle) ExtractResourceNames

type WatchPrincipalUpdatesDescriptorServerMsgHandle

type WatchPrincipalUpdatesDescriptorServerMsgHandle struct{}

func (*WatchPrincipalUpdatesDescriptorServerMsgHandle) ExtractCollectionName

func (*WatchPrincipalUpdatesDescriptorServerMsgHandle) ExtractResourceBodies

func (*WatchPrincipalUpdatesDescriptorServerMsgHandle) ExtractResourceBody

func (*WatchPrincipalUpdatesDescriptorServerMsgHandle) ExtractResourceName

func (*WatchPrincipalUpdatesDescriptorServerMsgHandle) ExtractResourceNames

type WatchPrincipalUpdatesRequest

type WatchPrincipalUpdatesRequest struct {
	RequestingService *meta_service.Name `` /* 158-byte string literal not displayed */
	// Region ID where principals are expected.
	RegionId string `protobuf:"bytes,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty" firestore:"regionId"`
	// Resume token in case of disconnection
	ResumeToken string `protobuf:"bytes,3,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// contains filtered or unexported fields
}

Request message for method [WatchPrincipalUpdates][ntt.iam.v1.WatchPrincipalUpdates]

func (*WatchPrincipalUpdatesRequest) Descriptor

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

Deprecated, Use WatchPrincipalUpdatesRequest.ProtoReflect.Descriptor instead.

func (*WatchPrincipalUpdatesRequest) GetRegionId

func (m *WatchPrincipalUpdatesRequest) GetRegionId() string

func (*WatchPrincipalUpdatesRequest) GetRequestingService

func (m *WatchPrincipalUpdatesRequest) GetRequestingService() *meta_service.Name

func (*WatchPrincipalUpdatesRequest) GetResumeToken

func (m *WatchPrincipalUpdatesRequest) GetResumeToken() string

func (*WatchPrincipalUpdatesRequest) GotenMessage

func (*WatchPrincipalUpdatesRequest) GotenMessage()

func (*WatchPrincipalUpdatesRequest) GotenValidate

func (obj *WatchPrincipalUpdatesRequest) GotenValidate() error

func (*WatchPrincipalUpdatesRequest) Marshal

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

func (*WatchPrincipalUpdatesRequest) MarshalJSON

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

func (*WatchPrincipalUpdatesRequest) ProtoMessage

func (*WatchPrincipalUpdatesRequest) ProtoMessage()

func (*WatchPrincipalUpdatesRequest) ProtoReflect

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

func (*WatchPrincipalUpdatesRequest) Reset

func (m *WatchPrincipalUpdatesRequest) Reset()

func (*WatchPrincipalUpdatesRequest) SetRegionId

func (m *WatchPrincipalUpdatesRequest) SetRegionId(fv string)

func (*WatchPrincipalUpdatesRequest) SetRequestingService

func (m *WatchPrincipalUpdatesRequest) SetRequestingService(fv *meta_service.Name)

func (*WatchPrincipalUpdatesRequest) SetResumeToken

func (m *WatchPrincipalUpdatesRequest) SetResumeToken(fv string)

func (*WatchPrincipalUpdatesRequest) String

func (*WatchPrincipalUpdatesRequest) Unmarshal

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

func (*WatchPrincipalUpdatesRequest) UnmarshalJSON

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

type WatchPrincipalUpdatesResponse

type WatchPrincipalUpdatesResponse struct {

	// All added or removed principals
	CurrentPrincipals []*WatchPrincipalUpdatesResponse_CurrentPrincipal `` /* 142-byte string literal not displayed */
	// All removed principals
	RemovedPrincipals []*WatchPrincipalUpdatesResponse_RemovedPrincipal `` /* 142-byte string literal not displayed */
	// Whether list of shadows received by client is in sync
	IsCurrent bool `protobuf:"varint,3,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty" firestore:"isCurrent"`
	// Whether current, pending changes should be reset.
	IsReset bool `protobuf:"varint,4,opt,name=is_reset,json=isReset,proto3" json:"is_reset,omitempty" firestore:"isReset"`
	// Token to resume from.
	ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty" firestore:"resumeToken"`
	// contains filtered or unexported fields
}

Response message for method [WatchPrincipalUpdates][ntt.iam.v1.WatchPrincipalUpdates]

func (*WatchPrincipalUpdatesResponse) Descriptor

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

Deprecated, Use WatchPrincipalUpdatesResponse.ProtoReflect.Descriptor instead.

func (*WatchPrincipalUpdatesResponse) GetCurrentPrincipals

func (*WatchPrincipalUpdatesResponse) GetIsCurrent

func (m *WatchPrincipalUpdatesResponse) GetIsCurrent() bool

func (*WatchPrincipalUpdatesResponse) GetIsReset

func (m *WatchPrincipalUpdatesResponse) GetIsReset() bool

func (*WatchPrincipalUpdatesResponse) GetRemovedPrincipals

func (*WatchPrincipalUpdatesResponse) GetResumeToken

func (m *WatchPrincipalUpdatesResponse) GetResumeToken() string

func (*WatchPrincipalUpdatesResponse) GotenMessage

func (*WatchPrincipalUpdatesResponse) GotenMessage()

func (*WatchPrincipalUpdatesResponse) GotenValidate

func (obj *WatchPrincipalUpdatesResponse) GotenValidate() error

func (*WatchPrincipalUpdatesResponse) Marshal

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

func (*WatchPrincipalUpdatesResponse) MarshalJSON

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

func (*WatchPrincipalUpdatesResponse) ProtoMessage

func (*WatchPrincipalUpdatesResponse) ProtoMessage()

func (*WatchPrincipalUpdatesResponse) ProtoReflect

func (*WatchPrincipalUpdatesResponse) Reset

func (m *WatchPrincipalUpdatesResponse) Reset()

func (*WatchPrincipalUpdatesResponse) SetCurrentPrincipals

func (*WatchPrincipalUpdatesResponse) SetIsCurrent

func (m *WatchPrincipalUpdatesResponse) SetIsCurrent(fv bool)

func (*WatchPrincipalUpdatesResponse) SetIsReset

func (m *WatchPrincipalUpdatesResponse) SetIsReset(fv bool)

func (*WatchPrincipalUpdatesResponse) SetRemovedPrincipals

func (*WatchPrincipalUpdatesResponse) SetResumeToken

func (m *WatchPrincipalUpdatesResponse) SetResumeToken(fv string)

func (*WatchPrincipalUpdatesResponse) String

func (*WatchPrincipalUpdatesResponse) Unmarshal

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

func (*WatchPrincipalUpdatesResponse) UnmarshalJSON

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

type WatchPrincipalUpdatesResponse_CurrentPrincipal

type WatchPrincipalUpdatesResponse_CurrentPrincipal struct {
	PrincipalKeyId   string `` /* 132-byte string literal not displayed */
	JsonKey          string `protobuf:"bytes,2,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty" firestore:"jsonKey"`
	PrincipalKeyType string `` /* 140-byte string literal not displayed */
	// Types that are valid to be assigned to Update:
	//	*WatchPrincipalUpdatesResponse_CurrentPrincipal_User
	//	*WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount
	Update isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update `protobuf_oneof:"update"`
	// contains filtered or unexported fields
}

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) Descriptor

Deprecated, Use WatchPrincipalUpdatesResponse_CurrentPrincipal.ProtoReflect.Descriptor instead.

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GetJsonKey

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GetPrincipalKeyId

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GetPrincipalKeyType

func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) GetPrincipalKeyType() string

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GetServiceAccount

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GetUpdate

func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) GetUpdate() isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GetUser

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GotenMessage

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GotenValidate

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) Marshal

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) MarshalJSON

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) ProtoMessage

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) ProtoReflect

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) Reset

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) SetJsonKey

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) SetPrincipalKeyId

func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetPrincipalKeyId(fv string)

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) SetPrincipalKeyType

func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetPrincipalKeyType(fv string)

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) SetServiceAccount

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) SetUpdate

func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetUpdate(ofv isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update)

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) SetUser

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) String

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) Unmarshal

func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) UnmarshalJSON

type WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount

type WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount struct {
	ServiceAccount *service_account.ServiceAccount `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3,oneof" firestore:"serviceAccount"`
}

type WatchPrincipalUpdatesResponse_CurrentPrincipal_User

type WatchPrincipalUpdatesResponse_CurrentPrincipal_User struct {
	User *user.User `protobuf:"bytes,4,opt,name=user,proto3,oneof" firestore:"user"`
}

type WatchPrincipalUpdatesResponse_RemovedPrincipal

type WatchPrincipalUpdatesResponse_RemovedPrincipal struct {
	PrincipalKeyId string `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) Descriptor

Deprecated, Use WatchPrincipalUpdatesResponse_RemovedPrincipal.ProtoReflect.Descriptor instead.

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) GetPrincipalKeyId

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) GotenMessage

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) GotenValidate

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) Marshal

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) MarshalJSON

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) ProtoMessage

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) ProtoReflect

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) Reset

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) SetPrincipalKeyId

func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) SetPrincipalKeyId(fv string)

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) String

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) Unmarshal

func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) UnmarshalJSON

Jump to

Keyboard shortcuts

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