Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCertificateServiceServer(s grpc.ServiceRegistrar, srv CertificateServiceServer)
- func RegisterFederationServiceServer(s grpc.ServiceRegistrar, srv FederationServiceServer)
- type AddFederatedUserAccountsMetadata
- func (*AddFederatedUserAccountsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddFederatedUserAccountsMetadata) GetFederationId() string
- func (*AddFederatedUserAccountsMetadata) ProtoMessage()
- func (x *AddFederatedUserAccountsMetadata) ProtoReflect() protoreflect.Message
- func (x *AddFederatedUserAccountsMetadata) Reset()
- func (m *AddFederatedUserAccountsMetadata) SetFederationId(v string)
- func (x *AddFederatedUserAccountsMetadata) String() string
- type AddFederatedUserAccountsRequest
- func (*AddFederatedUserAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFederatedUserAccountsRequest) GetFederationId() string
- func (x *AddFederatedUserAccountsRequest) GetNameIds() []string
- func (*AddFederatedUserAccountsRequest) ProtoMessage()
- func (x *AddFederatedUserAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *AddFederatedUserAccountsRequest) Reset()
- func (m *AddFederatedUserAccountsRequest) SetFederationId(v string)
- func (m *AddFederatedUserAccountsRequest) SetNameIds(v []string)
- func (x *AddFederatedUserAccountsRequest) String() string
- type AddFederatedUserAccountsResponse
- func (*AddFederatedUserAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddFederatedUserAccountsResponse) GetUserAccounts() []*v1.UserAccount
- func (*AddFederatedUserAccountsResponse) ProtoMessage()
- func (x *AddFederatedUserAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *AddFederatedUserAccountsResponse) Reset()
- func (m *AddFederatedUserAccountsResponse) SetUserAccounts(v []*v1.UserAccount)
- func (x *AddFederatedUserAccountsResponse) String() string
- type BindingType
- func (BindingType) Descriptor() protoreflect.EnumDescriptor
- func (x BindingType) Enum() *BindingType
- func (BindingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BindingType) Number() protoreflect.EnumNumber
- func (x BindingType) String() string
- func (BindingType) Type() protoreflect.EnumType
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetCreatedAt() *timestamppb.Timestamp
- func (x *Certificate) GetData() string
- func (x *Certificate) GetDescription() string
- func (x *Certificate) GetFederationId() string
- func (x *Certificate) GetId() string
- func (x *Certificate) GetName() string
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (m *Certificate) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Certificate) SetData(v string)
- func (m *Certificate) SetDescription(v string)
- func (m *Certificate) SetFederationId(v string)
- func (m *Certificate) SetId(v string)
- func (m *Certificate) SetName(v string)
- func (x *Certificate) String() string
- type CertificateServiceClient
- type CertificateServiceServer
- type CreateCertificateMetadata
- func (*CreateCertificateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCertificateMetadata) GetCertificateId() string
- func (*CreateCertificateMetadata) ProtoMessage()
- func (x *CreateCertificateMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateCertificateMetadata) Reset()
- func (m *CreateCertificateMetadata) SetCertificateId(v string)
- func (x *CreateCertificateMetadata) String() string
- type CreateCertificateRequest
- func (*CreateCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCertificateRequest) GetData() string
- func (x *CreateCertificateRequest) GetDescription() string
- func (x *CreateCertificateRequest) GetFederationId() string
- func (x *CreateCertificateRequest) GetName() string
- func (*CreateCertificateRequest) ProtoMessage()
- func (x *CreateCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCertificateRequest) Reset()
- func (m *CreateCertificateRequest) SetData(v string)
- func (m *CreateCertificateRequest) SetDescription(v string)
- func (m *CreateCertificateRequest) SetFederationId(v string)
- func (m *CreateCertificateRequest) SetName(v string)
- func (x *CreateCertificateRequest) String() string
- type CreateFederationMetadata
- func (*CreateFederationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFederationMetadata) GetFederationId() string
- func (*CreateFederationMetadata) ProtoMessage()
- func (x *CreateFederationMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateFederationMetadata) Reset()
- func (m *CreateFederationMetadata) SetFederationId(v string)
- func (x *CreateFederationMetadata) String() string
- type CreateFederationRequest
- func (*CreateFederationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFederationRequest) GetAutoCreateAccountOnLogin() bool
- func (x *CreateFederationRequest) GetCaseInsensitiveNameIds() bool
- func (x *CreateFederationRequest) GetCookieMaxAge() *durationpb.Duration
- func (x *CreateFederationRequest) GetDescription() string
- func (x *CreateFederationRequest) GetIssuer() string
- func (x *CreateFederationRequest) GetLabels() map[string]string
- func (x *CreateFederationRequest) GetName() string
- func (x *CreateFederationRequest) GetOrganizationId() string
- func (x *CreateFederationRequest) GetSecuritySettings() *FederationSecuritySettings
- func (x *CreateFederationRequest) GetSsoBinding() BindingType
- func (x *CreateFederationRequest) GetSsoUrl() string
- func (*CreateFederationRequest) ProtoMessage()
- func (x *CreateFederationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFederationRequest) Reset()
- func (m *CreateFederationRequest) SetAutoCreateAccountOnLogin(v bool)
- func (m *CreateFederationRequest) SetCaseInsensitiveNameIds(v bool)
- func (m *CreateFederationRequest) SetCookieMaxAge(v *durationpb.Duration)
- func (m *CreateFederationRequest) SetDescription(v string)
- func (m *CreateFederationRequest) SetIssuer(v string)
- func (m *CreateFederationRequest) SetLabels(v map[string]string)
- func (m *CreateFederationRequest) SetName(v string)
- func (m *CreateFederationRequest) SetOrganizationId(v string)
- func (m *CreateFederationRequest) SetSecuritySettings(v *FederationSecuritySettings)
- func (m *CreateFederationRequest) SetSsoBinding(v BindingType)
- func (m *CreateFederationRequest) SetSsoUrl(v string)
- func (x *CreateFederationRequest) String() string
- type DeleteCertificateMetadata
- func (*DeleteCertificateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCertificateMetadata) GetCertificateId() string
- func (*DeleteCertificateMetadata) ProtoMessage()
- func (x *DeleteCertificateMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteCertificateMetadata) Reset()
- func (m *DeleteCertificateMetadata) SetCertificateId(v string)
- func (x *DeleteCertificateMetadata) String() string
- type DeleteCertificateRequest
- func (*DeleteCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCertificateRequest) GetCertificateId() string
- func (*DeleteCertificateRequest) ProtoMessage()
- func (x *DeleteCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCertificateRequest) Reset()
- func (m *DeleteCertificateRequest) SetCertificateId(v string)
- func (x *DeleteCertificateRequest) String() string
- type DeleteFederatedUserAccountsMetadata
- func (*DeleteFederatedUserAccountsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFederatedUserAccountsMetadata) GetFederationId() string
- func (*DeleteFederatedUserAccountsMetadata) ProtoMessage()
- func (x *DeleteFederatedUserAccountsMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteFederatedUserAccountsMetadata) Reset()
- func (m *DeleteFederatedUserAccountsMetadata) SetFederationId(v string)
- func (x *DeleteFederatedUserAccountsMetadata) String() string
- type DeleteFederatedUserAccountsRequest
- func (*DeleteFederatedUserAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFederatedUserAccountsRequest) GetFederationId() string
- func (x *DeleteFederatedUserAccountsRequest) GetSubjectIds() []string
- func (*DeleteFederatedUserAccountsRequest) ProtoMessage()
- func (x *DeleteFederatedUserAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFederatedUserAccountsRequest) Reset()
- func (m *DeleteFederatedUserAccountsRequest) SetFederationId(v string)
- func (m *DeleteFederatedUserAccountsRequest) SetSubjectIds(v []string)
- func (x *DeleteFederatedUserAccountsRequest) String() string
- type DeleteFederatedUserAccountsResponse
- func (*DeleteFederatedUserAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFederatedUserAccountsResponse) GetDeletedSubjects() []string
- func (x *DeleteFederatedUserAccountsResponse) GetNonExistingSubjects() []string
- func (*DeleteFederatedUserAccountsResponse) ProtoMessage()
- func (x *DeleteFederatedUserAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteFederatedUserAccountsResponse) Reset()
- func (m *DeleteFederatedUserAccountsResponse) SetDeletedSubjects(v []string)
- func (m *DeleteFederatedUserAccountsResponse) SetNonExistingSubjects(v []string)
- func (x *DeleteFederatedUserAccountsResponse) String() string
- type DeleteFederationMetadata
- func (*DeleteFederationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFederationMetadata) GetFederationId() string
- func (*DeleteFederationMetadata) ProtoMessage()
- func (x *DeleteFederationMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteFederationMetadata) Reset()
- func (m *DeleteFederationMetadata) SetFederationId(v string)
- func (x *DeleteFederationMetadata) String() string
- type DeleteFederationRequest
- func (*DeleteFederationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFederationRequest) GetFederationId() string
- func (*DeleteFederationRequest) ProtoMessage()
- func (x *DeleteFederationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFederationRequest) Reset()
- func (m *DeleteFederationRequest) SetFederationId(v string)
- func (x *DeleteFederationRequest) String() string
- type Federation
- func (*Federation) Descriptor() ([]byte, []int)deprecated
- func (x *Federation) GetAutoCreateAccountOnLogin() bool
- func (x *Federation) GetCaseInsensitiveNameIds() bool
- func (x *Federation) GetCookieMaxAge() *durationpb.Duration
- func (x *Federation) GetCreatedAt() *timestamppb.Timestamp
- func (x *Federation) GetDescription() string
- func (x *Federation) GetId() string
- func (x *Federation) GetIssuer() string
- func (x *Federation) GetLabels() map[string]string
- func (x *Federation) GetName() string
- func (x *Federation) GetOrganizationId() string
- func (x *Federation) GetSecuritySettings() *FederationSecuritySettings
- func (x *Federation) GetSsoBinding() BindingType
- func (x *Federation) GetSsoUrl() string
- func (*Federation) ProtoMessage()
- func (x *Federation) ProtoReflect() protoreflect.Message
- func (x *Federation) Reset()
- func (m *Federation) SetAutoCreateAccountOnLogin(v bool)
- func (m *Federation) SetCaseInsensitiveNameIds(v bool)
- func (m *Federation) SetCookieMaxAge(v *durationpb.Duration)
- func (m *Federation) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Federation) SetDescription(v string)
- func (m *Federation) SetId(v string)
- func (m *Federation) SetIssuer(v string)
- func (m *Federation) SetLabels(v map[string]string)
- func (m *Federation) SetName(v string)
- func (m *Federation) SetOrganizationId(v string)
- func (m *Federation) SetSecuritySettings(v *FederationSecuritySettings)
- func (m *Federation) SetSsoBinding(v BindingType)
- func (m *Federation) SetSsoUrl(v string)
- func (x *Federation) String() string
- type FederationSecuritySettings
- func (*FederationSecuritySettings) Descriptor() ([]byte, []int)deprecated
- func (x *FederationSecuritySettings) GetEncryptedAssertions() bool
- func (x *FederationSecuritySettings) GetForceAuthn() bool
- func (*FederationSecuritySettings) ProtoMessage()
- func (x *FederationSecuritySettings) ProtoReflect() protoreflect.Message
- func (x *FederationSecuritySettings) Reset()
- func (m *FederationSecuritySettings) SetEncryptedAssertions(v bool)
- func (m *FederationSecuritySettings) SetForceAuthn(v bool)
- func (x *FederationSecuritySettings) String() string
- type FederationServiceClient
- type FederationServiceServer
- type GetCertificateRequest
- func (*GetCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCertificateRequest) GetCertificateId() string
- func (*GetCertificateRequest) ProtoMessage()
- func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *GetCertificateRequest) Reset()
- func (m *GetCertificateRequest) SetCertificateId(v string)
- func (x *GetCertificateRequest) String() string
- type GetFederationRequest
- func (*GetFederationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFederationRequest) GetFederationId() string
- func (*GetFederationRequest) ProtoMessage()
- func (x *GetFederationRequest) ProtoReflect() protoreflect.Message
- func (x *GetFederationRequest) Reset()
- func (m *GetFederationRequest) SetFederationId(v string)
- func (x *GetFederationRequest) String() string
- type ListCertificateOperationsRequest
- func (*ListCertificateOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCertificateOperationsRequest) GetCertificateId() string
- func (x *ListCertificateOperationsRequest) GetPageSize() int64
- func (x *ListCertificateOperationsRequest) GetPageToken() string
- func (*ListCertificateOperationsRequest) ProtoMessage()
- func (x *ListCertificateOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCertificateOperationsRequest) Reset()
- func (m *ListCertificateOperationsRequest) SetCertificateId(v string)
- func (m *ListCertificateOperationsRequest) SetPageSize(v int64)
- func (m *ListCertificateOperationsRequest) SetPageToken(v string)
- func (x *ListCertificateOperationsRequest) String() string
- type ListCertificateOperationsResponse
- func (*ListCertificateOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCertificateOperationsResponse) GetNextPageToken() string
- func (x *ListCertificateOperationsResponse) GetOperations() []*operation.Operation
- func (*ListCertificateOperationsResponse) ProtoMessage()
- func (x *ListCertificateOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCertificateOperationsResponse) Reset()
- func (m *ListCertificateOperationsResponse) SetNextPageToken(v string)
- func (m *ListCertificateOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListCertificateOperationsResponse) String() string
- type ListCertificatesRequest
- func (*ListCertificatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCertificatesRequest) GetFederationId() string
- func (x *ListCertificatesRequest) GetFilter() string
- func (x *ListCertificatesRequest) GetPageSize() int64
- func (x *ListCertificatesRequest) GetPageToken() string
- func (*ListCertificatesRequest) ProtoMessage()
- func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCertificatesRequest) Reset()
- func (m *ListCertificatesRequest) SetFederationId(v string)
- func (m *ListCertificatesRequest) SetFilter(v string)
- func (m *ListCertificatesRequest) SetPageSize(v int64)
- func (m *ListCertificatesRequest) SetPageToken(v string)
- func (x *ListCertificatesRequest) String() string
- type ListCertificatesResponse
- func (*ListCertificatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCertificatesResponse) GetCertificates() []*Certificate
- func (x *ListCertificatesResponse) GetNextPageToken() string
- func (*ListCertificatesResponse) ProtoMessage()
- func (x *ListCertificatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListCertificatesResponse) Reset()
- func (m *ListCertificatesResponse) SetCertificates(v []*Certificate)
- func (m *ListCertificatesResponse) SetNextPageToken(v string)
- func (x *ListCertificatesResponse) String() string
- type ListFederatedUserAccountsRequest
- func (*ListFederatedUserAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederatedUserAccountsRequest) GetFederationId() string
- func (x *ListFederatedUserAccountsRequest) GetFilter() string
- func (x *ListFederatedUserAccountsRequest) GetPageSize() int64
- func (x *ListFederatedUserAccountsRequest) GetPageToken() string
- func (*ListFederatedUserAccountsRequest) ProtoMessage()
- func (x *ListFederatedUserAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFederatedUserAccountsRequest) Reset()
- func (m *ListFederatedUserAccountsRequest) SetFederationId(v string)
- func (m *ListFederatedUserAccountsRequest) SetFilter(v string)
- func (m *ListFederatedUserAccountsRequest) SetPageSize(v int64)
- func (m *ListFederatedUserAccountsRequest) SetPageToken(v string)
- func (x *ListFederatedUserAccountsRequest) String() string
- type ListFederatedUserAccountsResponse
- func (*ListFederatedUserAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederatedUserAccountsResponse) GetNextPageToken() string
- func (x *ListFederatedUserAccountsResponse) GetUserAccounts() []*v1.UserAccount
- func (*ListFederatedUserAccountsResponse) ProtoMessage()
- func (x *ListFederatedUserAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFederatedUserAccountsResponse) Reset()
- func (m *ListFederatedUserAccountsResponse) SetNextPageToken(v string)
- func (m *ListFederatedUserAccountsResponse) SetUserAccounts(v []*v1.UserAccount)
- func (x *ListFederatedUserAccountsResponse) String() string
- type ListFederationOperationsRequest
- func (*ListFederationOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederationOperationsRequest) GetFederationId() string
- func (x *ListFederationOperationsRequest) GetPageSize() int64
- func (x *ListFederationOperationsRequest) GetPageToken() string
- func (*ListFederationOperationsRequest) ProtoMessage()
- func (x *ListFederationOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFederationOperationsRequest) Reset()
- func (m *ListFederationOperationsRequest) SetFederationId(v string)
- func (m *ListFederationOperationsRequest) SetPageSize(v int64)
- func (m *ListFederationOperationsRequest) SetPageToken(v string)
- func (x *ListFederationOperationsRequest) String() string
- type ListFederationOperationsResponse
- func (*ListFederationOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederationOperationsResponse) GetNextPageToken() string
- func (x *ListFederationOperationsResponse) GetOperations() []*operation.Operation
- func (*ListFederationOperationsResponse) ProtoMessage()
- func (x *ListFederationOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFederationOperationsResponse) Reset()
- func (m *ListFederationOperationsResponse) SetNextPageToken(v string)
- func (m *ListFederationOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListFederationOperationsResponse) String() string
- type ListFederationsRequest
- func (*ListFederationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederationsRequest) GetFilter() string
- func (x *ListFederationsRequest) GetOrganizationId() string
- func (x *ListFederationsRequest) GetPageSize() int64
- func (x *ListFederationsRequest) GetPageToken() string
- func (*ListFederationsRequest) ProtoMessage()
- func (x *ListFederationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFederationsRequest) Reset()
- func (m *ListFederationsRequest) SetFilter(v string)
- func (m *ListFederationsRequest) SetOrganizationId(v string)
- func (m *ListFederationsRequest) SetPageSize(v int64)
- func (m *ListFederationsRequest) SetPageToken(v string)
- func (x *ListFederationsRequest) String() string
- type ListFederationsResponse
- func (*ListFederationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederationsResponse) GetFederations() []*Federation
- func (x *ListFederationsResponse) GetNextPageToken() string
- func (*ListFederationsResponse) ProtoMessage()
- func (x *ListFederationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFederationsResponse) Reset()
- func (m *ListFederationsResponse) SetFederations(v []*Federation)
- func (m *ListFederationsResponse) SetNextPageToken(v string)
- func (x *ListFederationsResponse) String() string
- type UnimplementedCertificateServiceServer
- func (UnimplementedCertificateServiceServer) Create(context.Context, *CreateCertificateRequest) (*operation.Operation, error)
- func (UnimplementedCertificateServiceServer) Delete(context.Context, *DeleteCertificateRequest) (*operation.Operation, error)
- func (UnimplementedCertificateServiceServer) Get(context.Context, *GetCertificateRequest) (*Certificate, error)
- func (UnimplementedCertificateServiceServer) List(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error)
- func (UnimplementedCertificateServiceServer) ListOperations(context.Context, *ListCertificateOperationsRequest) (*ListCertificateOperationsResponse, error)
- func (UnimplementedCertificateServiceServer) Update(context.Context, *UpdateCertificateRequest) (*operation.Operation, error)
- type UnimplementedFederationServiceServer
- func (UnimplementedFederationServiceServer) AddUserAccounts(context.Context, *AddFederatedUserAccountsRequest) (*operation.Operation, error)
- func (UnimplementedFederationServiceServer) Create(context.Context, *CreateFederationRequest) (*operation.Operation, error)
- func (UnimplementedFederationServiceServer) Delete(context.Context, *DeleteFederationRequest) (*operation.Operation, error)
- func (UnimplementedFederationServiceServer) DeleteUserAccounts(context.Context, *DeleteFederatedUserAccountsRequest) (*operation.Operation, error)
- func (UnimplementedFederationServiceServer) Get(context.Context, *GetFederationRequest) (*Federation, error)
- func (UnimplementedFederationServiceServer) List(context.Context, *ListFederationsRequest) (*ListFederationsResponse, error)
- func (UnimplementedFederationServiceServer) ListOperations(context.Context, *ListFederationOperationsRequest) (*ListFederationOperationsResponse, error)
- func (UnimplementedFederationServiceServer) ListUserAccounts(context.Context, *ListFederatedUserAccountsRequest) (*ListFederatedUserAccountsResponse, error)
- func (UnimplementedFederationServiceServer) Update(context.Context, *UpdateFederationRequest) (*operation.Operation, error)
- type UnsafeCertificateServiceServer
- type UnsafeFederationServiceServer
- type UpdateCertificateMetadata
- func (*UpdateCertificateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCertificateMetadata) GetCertificateId() string
- func (*UpdateCertificateMetadata) ProtoMessage()
- func (x *UpdateCertificateMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateCertificateMetadata) Reset()
- func (m *UpdateCertificateMetadata) SetCertificateId(v string)
- func (x *UpdateCertificateMetadata) String() string
- type UpdateCertificateRequest
- func (*UpdateCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCertificateRequest) GetCertificateId() string
- func (x *UpdateCertificateRequest) GetData() string
- func (x *UpdateCertificateRequest) GetDescription() string
- func (x *UpdateCertificateRequest) GetName() string
- func (x *UpdateCertificateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCertificateRequest) ProtoMessage()
- func (x *UpdateCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCertificateRequest) Reset()
- func (m *UpdateCertificateRequest) SetCertificateId(v string)
- func (m *UpdateCertificateRequest) SetData(v string)
- func (m *UpdateCertificateRequest) SetDescription(v string)
- func (m *UpdateCertificateRequest) SetName(v string)
- func (m *UpdateCertificateRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateCertificateRequest) String() string
- type UpdateFederationMetadata
- func (*UpdateFederationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFederationMetadata) GetFederationId() string
- func (*UpdateFederationMetadata) ProtoMessage()
- func (x *UpdateFederationMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateFederationMetadata) Reset()
- func (m *UpdateFederationMetadata) SetFederationId(v string)
- func (x *UpdateFederationMetadata) String() string
- type UpdateFederationRequest
- func (*UpdateFederationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFederationRequest) GetAutoCreateAccountOnLogin() bool
- func (x *UpdateFederationRequest) GetCaseInsensitiveNameIds() bool
- func (x *UpdateFederationRequest) GetCookieMaxAge() *durationpb.Duration
- func (x *UpdateFederationRequest) GetDescription() string
- func (x *UpdateFederationRequest) GetFederationId() string
- func (x *UpdateFederationRequest) GetIssuer() string
- func (x *UpdateFederationRequest) GetLabels() map[string]string
- func (x *UpdateFederationRequest) GetName() string
- func (x *UpdateFederationRequest) GetSecuritySettings() *FederationSecuritySettings
- func (x *UpdateFederationRequest) GetSsoBinding() BindingType
- func (x *UpdateFederationRequest) GetSsoUrl() string
- func (x *UpdateFederationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateFederationRequest) ProtoMessage()
- func (x *UpdateFederationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFederationRequest) Reset()
- func (m *UpdateFederationRequest) SetAutoCreateAccountOnLogin(v bool)
- func (m *UpdateFederationRequest) SetCaseInsensitiveNameIds(v bool)
- func (m *UpdateFederationRequest) SetCookieMaxAge(v *durationpb.Duration)
- func (m *UpdateFederationRequest) SetDescription(v string)
- func (m *UpdateFederationRequest) SetFederationId(v string)
- func (m *UpdateFederationRequest) SetIssuer(v string)
- func (m *UpdateFederationRequest) SetLabels(v map[string]string)
- func (m *UpdateFederationRequest) SetName(v string)
- func (m *UpdateFederationRequest) SetSecuritySettings(v *FederationSecuritySettings)
- func (m *UpdateFederationRequest) SetSsoBinding(v BindingType)
- func (m *UpdateFederationRequest) SetSsoUrl(v string)
- func (m *UpdateFederationRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateFederationRequest) String() string
Constants ¶
const ( CertificateService_Get_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.CertificateService/Get" CertificateService_List_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.CertificateService/List" CertificateService_Create_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.CertificateService/Create" CertificateService_Update_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.CertificateService/Update" CertificateService_Delete_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.CertificateService/Delete" CertificateService_ListOperations_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.CertificateService/ListOperations" )
const ( FederationService_Get_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/Get" FederationService_List_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/List" FederationService_Create_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/Create" FederationService_Update_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/Update" FederationService_Delete_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/Delete" FederationService_AddUserAccounts_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/AddUserAccounts" FederationService_DeleteUserAccounts_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/DeleteUserAccounts" FederationService_ListUserAccounts_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/ListUserAccounts" FederationService_ListOperations_FullMethodName = "/yandex.cloud.organizationmanager.v1.saml.FederationService/ListOperations" )
Variables ¶
var ( BindingType_name = map[int32]string{ 0: "BINDING_TYPE_UNSPECIFIED", 1: "POST", 2: "REDIRECT", 3: "ARTIFACT", } BindingType_value = map[string]int32{ "BINDING_TYPE_UNSPECIFIED": 0, "POST": 1, "REDIRECT": 2, "ARTIFACT": 3, } )
Enum value maps for BindingType.
var CertificateService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.organizationmanager.v1.saml.CertificateService", HandlerType: (*CertificateServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _CertificateService_Get_Handler, }, { MethodName: "List", Handler: _CertificateService_List_Handler, }, { MethodName: "Create", Handler: _CertificateService_Create_Handler, }, { MethodName: "Update", Handler: _CertificateService_Update_Handler, }, { MethodName: "Delete", Handler: _CertificateService_Delete_Handler, }, { MethodName: "ListOperations", Handler: _CertificateService_ListOperations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/organizationmanager/v1/saml/certificate_service.proto", }
CertificateService_ServiceDesc is the grpc.ServiceDesc for CertificateService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var FederationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.organizationmanager.v1.saml.FederationService", HandlerType: (*FederationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _FederationService_Get_Handler, }, { MethodName: "List", Handler: _FederationService_List_Handler, }, { MethodName: "Create", Handler: _FederationService_Create_Handler, }, { MethodName: "Update", Handler: _FederationService_Update_Handler, }, { MethodName: "Delete", Handler: _FederationService_Delete_Handler, }, { MethodName: "AddUserAccounts", Handler: _FederationService_AddUserAccounts_Handler, }, { MethodName: "DeleteUserAccounts", Handler: _FederationService_DeleteUserAccounts_Handler, }, { MethodName: "ListUserAccounts", Handler: _FederationService_ListUserAccounts_Handler, }, { MethodName: "ListOperations", Handler: _FederationService_ListOperations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/organizationmanager/v1/saml/federation_service.proto", }
FederationService_ServiceDesc is the grpc.ServiceDesc for FederationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_organizationmanager_v1_saml_certificate_proto protoreflect.FileDescriptor
var File_yandex_cloud_organizationmanager_v1_saml_certificate_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_organizationmanager_v1_saml_federation_proto protoreflect.FileDescriptor
var File_yandex_cloud_organizationmanager_v1_saml_federation_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCertificateServiceServer ¶
func RegisterCertificateServiceServer(s grpc.ServiceRegistrar, srv CertificateServiceServer)
func RegisterFederationServiceServer ¶
func RegisterFederationServiceServer(s grpc.ServiceRegistrar, srv FederationServiceServer)
Types ¶
type AddFederatedUserAccountsMetadata ¶
type AddFederatedUserAccountsMetadata struct { // ID of the federation that is being altered. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // contains filtered or unexported fields }
func (*AddFederatedUserAccountsMetadata) Descriptor
deprecated
func (*AddFederatedUserAccountsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddFederatedUserAccountsMetadata.ProtoReflect.Descriptor instead.
func (*AddFederatedUserAccountsMetadata) GetFederationId ¶
func (x *AddFederatedUserAccountsMetadata) GetFederationId() string
func (*AddFederatedUserAccountsMetadata) ProtoMessage ¶
func (*AddFederatedUserAccountsMetadata) ProtoMessage()
func (*AddFederatedUserAccountsMetadata) ProtoReflect ¶
func (x *AddFederatedUserAccountsMetadata) ProtoReflect() protoreflect.Message
func (*AddFederatedUserAccountsMetadata) Reset ¶
func (x *AddFederatedUserAccountsMetadata) Reset()
func (*AddFederatedUserAccountsMetadata) SetFederationId ¶
func (m *AddFederatedUserAccountsMetadata) SetFederationId(v string)
func (*AddFederatedUserAccountsMetadata) String ¶
func (x *AddFederatedUserAccountsMetadata) String() string
type AddFederatedUserAccountsRequest ¶
type AddFederatedUserAccountsRequest struct { // ID of the federation to add users. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // Name IDs returned by the Identity Provider (IdP) on successful authentication. // These may be UPNs or user email addresses. NameIds []string `protobuf:"bytes,2,rep,name=name_ids,json=nameIds,proto3" json:"name_ids,omitempty"` // contains filtered or unexported fields }
func (*AddFederatedUserAccountsRequest) Descriptor
deprecated
func (*AddFederatedUserAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFederatedUserAccountsRequest.ProtoReflect.Descriptor instead.
func (*AddFederatedUserAccountsRequest) GetFederationId ¶
func (x *AddFederatedUserAccountsRequest) GetFederationId() string
func (*AddFederatedUserAccountsRequest) GetNameIds ¶
func (x *AddFederatedUserAccountsRequest) GetNameIds() []string
func (*AddFederatedUserAccountsRequest) ProtoMessage ¶
func (*AddFederatedUserAccountsRequest) ProtoMessage()
func (*AddFederatedUserAccountsRequest) ProtoReflect ¶
func (x *AddFederatedUserAccountsRequest) ProtoReflect() protoreflect.Message
func (*AddFederatedUserAccountsRequest) Reset ¶
func (x *AddFederatedUserAccountsRequest) Reset()
func (*AddFederatedUserAccountsRequest) SetFederationId ¶
func (m *AddFederatedUserAccountsRequest) SetFederationId(v string)
func (*AddFederatedUserAccountsRequest) SetNameIds ¶
func (m *AddFederatedUserAccountsRequest) SetNameIds(v []string)
func (*AddFederatedUserAccountsRequest) String ¶
func (x *AddFederatedUserAccountsRequest) String() string
type AddFederatedUserAccountsResponse ¶
type AddFederatedUserAccountsResponse struct { // List of users created by [FederationService.AddUserAccounts] request. UserAccounts []*v1.UserAccount `protobuf:"bytes,1,rep,name=user_accounts,json=userAccounts,proto3" json:"user_accounts,omitempty"` // contains filtered or unexported fields }
func (*AddFederatedUserAccountsResponse) Descriptor
deprecated
func (*AddFederatedUserAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFederatedUserAccountsResponse.ProtoReflect.Descriptor instead.
func (*AddFederatedUserAccountsResponse) GetUserAccounts ¶
func (x *AddFederatedUserAccountsResponse) GetUserAccounts() []*v1.UserAccount
func (*AddFederatedUserAccountsResponse) ProtoMessage ¶
func (*AddFederatedUserAccountsResponse) ProtoMessage()
func (*AddFederatedUserAccountsResponse) ProtoReflect ¶
func (x *AddFederatedUserAccountsResponse) ProtoReflect() protoreflect.Message
func (*AddFederatedUserAccountsResponse) Reset ¶
func (x *AddFederatedUserAccountsResponse) Reset()
func (*AddFederatedUserAccountsResponse) SetUserAccounts ¶
func (m *AddFederatedUserAccountsResponse) SetUserAccounts(v []*v1.UserAccount)
func (*AddFederatedUserAccountsResponse) String ¶
func (x *AddFederatedUserAccountsResponse) String() string
type BindingType ¶
type BindingType int32
const ( BindingType_BINDING_TYPE_UNSPECIFIED BindingType = 0 // HTTP POST binding. BindingType_POST BindingType = 1 // HTTP redirect binding. BindingType_REDIRECT BindingType = 2 // HTTP artifact binding. BindingType_ARTIFACT BindingType = 3 )
func (BindingType) Descriptor ¶
func (BindingType) Descriptor() protoreflect.EnumDescriptor
func (BindingType) Enum ¶
func (x BindingType) Enum() *BindingType
func (BindingType) EnumDescriptor
deprecated
func (BindingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BindingType.Descriptor instead.
func (BindingType) Number ¶
func (x BindingType) Number() protoreflect.EnumNumber
func (BindingType) String ¶
func (x BindingType) String() string
func (BindingType) Type ¶
func (BindingType) Type() protoreflect.EnumType
type Certificate ¶
type Certificate struct { // ID of the certificate. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the federation that the certificate belongs to. FederationId string `protobuf:"bytes,2,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // Name of the certificate. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the certificate. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Certificate data in PEM format. Data string `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
A certificate.
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetCreatedAt ¶
func (x *Certificate) GetCreatedAt() *timestamppb.Timestamp
func (*Certificate) GetData ¶
func (x *Certificate) GetData() string
func (*Certificate) GetDescription ¶
func (x *Certificate) GetDescription() string
func (*Certificate) GetFederationId ¶
func (x *Certificate) GetFederationId() string
func (*Certificate) GetId ¶
func (x *Certificate) GetId() string
func (*Certificate) GetName ¶
func (x *Certificate) GetName() string
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶
func (x *Certificate) Reset()
func (*Certificate) SetCreatedAt ¶
func (m *Certificate) SetCreatedAt(v *timestamppb.Timestamp)
func (*Certificate) SetData ¶
func (m *Certificate) SetData(v string)
func (*Certificate) SetDescription ¶
func (m *Certificate) SetDescription(v string)
func (*Certificate) SetFederationId ¶
func (m *Certificate) SetFederationId(v string)
func (*Certificate) SetId ¶
func (m *Certificate) SetId(v string)
func (*Certificate) SetName ¶
func (m *Certificate) SetName(v string)
func (*Certificate) String ¶
func (x *Certificate) String() string
type CertificateServiceClient ¶
type CertificateServiceClient interface { // Returns the specified certificate. // // To get the list of available certificates, make a [List] request. Get(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*Certificate, error) // Retrieves the list of certificates in the specified federation. List(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error) // Creates a certificate in the specified federation. Create(ctx context.Context, in *CreateCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified certificate. Update(ctx context.Context, in *UpdateCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified certificate. Delete(ctx context.Context, in *DeleteCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified certificate. ListOperations(ctx context.Context, in *ListCertificateOperationsRequest, opts ...grpc.CallOption) (*ListCertificateOperationsResponse, error) }
CertificateServiceClient is the client API for CertificateService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A set of methods for managing certificates.
func NewCertificateServiceClient ¶
func NewCertificateServiceClient(cc grpc.ClientConnInterface) CertificateServiceClient
type CertificateServiceServer ¶
type CertificateServiceServer interface { // Returns the specified certificate. // // To get the list of available certificates, make a [List] request. Get(context.Context, *GetCertificateRequest) (*Certificate, error) // Retrieves the list of certificates in the specified federation. List(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error) // Creates a certificate in the specified federation. Create(context.Context, *CreateCertificateRequest) (*operation.Operation, error) // Updates the specified certificate. Update(context.Context, *UpdateCertificateRequest) (*operation.Operation, error) // Deletes the specified certificate. Delete(context.Context, *DeleteCertificateRequest) (*operation.Operation, error) // Lists operations for the specified certificate. ListOperations(context.Context, *ListCertificateOperationsRequest) (*ListCertificateOperationsResponse, error) }
CertificateServiceServer is the server API for CertificateService service. All implementations should embed UnimplementedCertificateServiceServer for forward compatibility.
A set of methods for managing certificates.
type CreateCertificateMetadata ¶
type CreateCertificateMetadata struct { // ID of the certificate that is being created. CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*CreateCertificateMetadata) Descriptor
deprecated
func (*CreateCertificateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateCertificateMetadata.ProtoReflect.Descriptor instead.
func (*CreateCertificateMetadata) GetCertificateId ¶
func (x *CreateCertificateMetadata) GetCertificateId() string
func (*CreateCertificateMetadata) ProtoMessage ¶
func (*CreateCertificateMetadata) ProtoMessage()
func (*CreateCertificateMetadata) ProtoReflect ¶
func (x *CreateCertificateMetadata) ProtoReflect() protoreflect.Message
func (*CreateCertificateMetadata) Reset ¶
func (x *CreateCertificateMetadata) Reset()
func (*CreateCertificateMetadata) SetCertificateId ¶
func (m *CreateCertificateMetadata) SetCertificateId(v string)
func (*CreateCertificateMetadata) String ¶
func (x *CreateCertificateMetadata) String() string
type CreateCertificateRequest ¶
type CreateCertificateRequest struct { // ID of the federation to add new certificate. // To get the federation ID make a [yandex.cloud.organizationmanager.v1.saml.FederationService.List] request. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // Name of the certificate. // The name must be unique within the federation. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the certificate. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Certificate data in PEM format. Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateCertificateRequest) Descriptor
deprecated
func (*CreateCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCertificateRequest.ProtoReflect.Descriptor instead.
func (*CreateCertificateRequest) GetData ¶
func (x *CreateCertificateRequest) GetData() string
func (*CreateCertificateRequest) GetDescription ¶
func (x *CreateCertificateRequest) GetDescription() string
func (*CreateCertificateRequest) GetFederationId ¶
func (x *CreateCertificateRequest) GetFederationId() string
func (*CreateCertificateRequest) GetName ¶
func (x *CreateCertificateRequest) GetName() string
func (*CreateCertificateRequest) ProtoMessage ¶
func (*CreateCertificateRequest) ProtoMessage()
func (*CreateCertificateRequest) ProtoReflect ¶
func (x *CreateCertificateRequest) ProtoReflect() protoreflect.Message
func (*CreateCertificateRequest) Reset ¶
func (x *CreateCertificateRequest) Reset()
func (*CreateCertificateRequest) SetData ¶
func (m *CreateCertificateRequest) SetData(v string)
func (*CreateCertificateRequest) SetDescription ¶
func (m *CreateCertificateRequest) SetDescription(v string)
func (*CreateCertificateRequest) SetFederationId ¶
func (m *CreateCertificateRequest) SetFederationId(v string)
func (*CreateCertificateRequest) SetName ¶
func (m *CreateCertificateRequest) SetName(v string)
func (*CreateCertificateRequest) String ¶
func (x *CreateCertificateRequest) String() string
type CreateFederationMetadata ¶
type CreateFederationMetadata struct { // ID of the federation that is being created. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // contains filtered or unexported fields }
func (*CreateFederationMetadata) Descriptor
deprecated
func (*CreateFederationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateFederationMetadata.ProtoReflect.Descriptor instead.
func (*CreateFederationMetadata) GetFederationId ¶
func (x *CreateFederationMetadata) GetFederationId() string
func (*CreateFederationMetadata) ProtoMessage ¶
func (*CreateFederationMetadata) ProtoMessage()
func (*CreateFederationMetadata) ProtoReflect ¶
func (x *CreateFederationMetadata) ProtoReflect() protoreflect.Message
func (*CreateFederationMetadata) Reset ¶
func (x *CreateFederationMetadata) Reset()
func (*CreateFederationMetadata) SetFederationId ¶
func (m *CreateFederationMetadata) SetFederationId(v string)
func (*CreateFederationMetadata) String ¶
func (x *CreateFederationMetadata) String() string
type CreateFederationRequest ¶
type CreateFederationRequest struct { // ID of the organization to create a federation in. // To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // Name of the federation. // The name must be unique within the organization. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the federation. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Browser cookie lifetime in seconds. // If the cookie is still valid, the management console // authenticates the user immediately and redirects them to the home page. // The default value is `8h`. CookieMaxAge *durationpb.Duration `protobuf:"bytes,4,opt,name=cookie_max_age,json=cookieMaxAge,proto3" json:"cookie_max_age,omitempty"` // Add new users automatically on successful authentication. // The user becomes member of the organization automatically, // but you need to grant other roles to them. // // If the value is `false`, users who aren't added to the organization // can't log in, even if they have authenticated on your server. AutoCreateAccountOnLogin bool `` /* 140-byte string literal not displayed */ // ID of the IdP server to be used for authentication. // The IdP server also responds to IAM with this ID after the user authenticates. Issuer string `protobuf:"bytes,6,opt,name=issuer,proto3" json:"issuer,omitempty"` // Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type. // // SAML Binding is a mapping of a SAML protocol message onto standard messaging // formats and/or communications protocols. SsoBinding BindingType `` /* 150-byte string literal not displayed */ // Single sign-on endpoint URL. // Specify the link to the IdP login page here. SsoUrl string `protobuf:"bytes,8,opt,name=sso_url,json=ssoUrl,proto3" json:"sso_url,omitempty"` // Federation security settings. SecuritySettings *FederationSecuritySettings `protobuf:"bytes,9,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // Use case insensitive Name IDs. CaseInsensitiveNameIds bool `` /* 133-byte string literal not displayed */ // Resource labels as “ key:value “ pairs. Labels map[string]string `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateFederationRequest) Descriptor
deprecated
func (*CreateFederationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFederationRequest.ProtoReflect.Descriptor instead.
func (*CreateFederationRequest) GetAutoCreateAccountOnLogin ¶
func (x *CreateFederationRequest) GetAutoCreateAccountOnLogin() bool
func (*CreateFederationRequest) GetCaseInsensitiveNameIds ¶
func (x *CreateFederationRequest) GetCaseInsensitiveNameIds() bool
func (*CreateFederationRequest) GetCookieMaxAge ¶
func (x *CreateFederationRequest) GetCookieMaxAge() *durationpb.Duration
func (*CreateFederationRequest) GetDescription ¶
func (x *CreateFederationRequest) GetDescription() string
func (*CreateFederationRequest) GetIssuer ¶
func (x *CreateFederationRequest) GetIssuer() string
func (*CreateFederationRequest) GetLabels ¶
func (x *CreateFederationRequest) GetLabels() map[string]string
func (*CreateFederationRequest) GetName ¶
func (x *CreateFederationRequest) GetName() string
func (*CreateFederationRequest) GetOrganizationId ¶
func (x *CreateFederationRequest) GetOrganizationId() string
func (*CreateFederationRequest) GetSecuritySettings ¶
func (x *CreateFederationRequest) GetSecuritySettings() *FederationSecuritySettings
func (*CreateFederationRequest) GetSsoBinding ¶
func (x *CreateFederationRequest) GetSsoBinding() BindingType
func (*CreateFederationRequest) GetSsoUrl ¶
func (x *CreateFederationRequest) GetSsoUrl() string
func (*CreateFederationRequest) ProtoMessage ¶
func (*CreateFederationRequest) ProtoMessage()
func (*CreateFederationRequest) ProtoReflect ¶
func (x *CreateFederationRequest) ProtoReflect() protoreflect.Message
func (*CreateFederationRequest) Reset ¶
func (x *CreateFederationRequest) Reset()
func (*CreateFederationRequest) SetAutoCreateAccountOnLogin ¶
func (m *CreateFederationRequest) SetAutoCreateAccountOnLogin(v bool)
func (*CreateFederationRequest) SetCaseInsensitiveNameIds ¶
func (m *CreateFederationRequest) SetCaseInsensitiveNameIds(v bool)
func (*CreateFederationRequest) SetCookieMaxAge ¶
func (m *CreateFederationRequest) SetCookieMaxAge(v *durationpb.Duration)
func (*CreateFederationRequest) SetDescription ¶
func (m *CreateFederationRequest) SetDescription(v string)
func (*CreateFederationRequest) SetIssuer ¶
func (m *CreateFederationRequest) SetIssuer(v string)
func (*CreateFederationRequest) SetLabels ¶
func (m *CreateFederationRequest) SetLabels(v map[string]string)
func (*CreateFederationRequest) SetName ¶
func (m *CreateFederationRequest) SetName(v string)
func (*CreateFederationRequest) SetOrganizationId ¶
func (m *CreateFederationRequest) SetOrganizationId(v string)
func (*CreateFederationRequest) SetSecuritySettings ¶
func (m *CreateFederationRequest) SetSecuritySettings(v *FederationSecuritySettings)
func (*CreateFederationRequest) SetSsoBinding ¶
func (m *CreateFederationRequest) SetSsoBinding(v BindingType)
func (*CreateFederationRequest) SetSsoUrl ¶
func (m *CreateFederationRequest) SetSsoUrl(v string)
func (*CreateFederationRequest) String ¶
func (x *CreateFederationRequest) String() string
type DeleteCertificateMetadata ¶
type DeleteCertificateMetadata struct { // ID of the certificate that is being deleted. CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCertificateMetadata) Descriptor
deprecated
func (*DeleteCertificateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCertificateMetadata.ProtoReflect.Descriptor instead.
func (*DeleteCertificateMetadata) GetCertificateId ¶
func (x *DeleteCertificateMetadata) GetCertificateId() string
func (*DeleteCertificateMetadata) ProtoMessage ¶
func (*DeleteCertificateMetadata) ProtoMessage()
func (*DeleteCertificateMetadata) ProtoReflect ¶
func (x *DeleteCertificateMetadata) ProtoReflect() protoreflect.Message
func (*DeleteCertificateMetadata) Reset ¶
func (x *DeleteCertificateMetadata) Reset()
func (*DeleteCertificateMetadata) SetCertificateId ¶
func (m *DeleteCertificateMetadata) SetCertificateId(v string)
func (*DeleteCertificateMetadata) String ¶
func (x *DeleteCertificateMetadata) String() string
type DeleteCertificateRequest ¶
type DeleteCertificateRequest struct { // ID of the certificate to delete. // To get the certificate ID, make a [CertificateService.List] request. CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCertificateRequest) Descriptor
deprecated
func (*DeleteCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCertificateRequest.ProtoReflect.Descriptor instead.
func (*DeleteCertificateRequest) GetCertificateId ¶
func (x *DeleteCertificateRequest) GetCertificateId() string
func (*DeleteCertificateRequest) ProtoMessage ¶
func (*DeleteCertificateRequest) ProtoMessage()
func (*DeleteCertificateRequest) ProtoReflect ¶
func (x *DeleteCertificateRequest) ProtoReflect() protoreflect.Message
func (*DeleteCertificateRequest) Reset ¶
func (x *DeleteCertificateRequest) Reset()
func (*DeleteCertificateRequest) SetCertificateId ¶
func (m *DeleteCertificateRequest) SetCertificateId(v string)
func (*DeleteCertificateRequest) String ¶
func (x *DeleteCertificateRequest) String() string
type DeleteFederatedUserAccountsMetadata ¶
type DeleteFederatedUserAccountsMetadata struct { // ID of the federation that is being altered. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFederatedUserAccountsMetadata) Descriptor
deprecated
func (*DeleteFederatedUserAccountsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFederatedUserAccountsMetadata.ProtoReflect.Descriptor instead.
func (*DeleteFederatedUserAccountsMetadata) GetFederationId ¶
func (x *DeleteFederatedUserAccountsMetadata) GetFederationId() string
func (*DeleteFederatedUserAccountsMetadata) ProtoMessage ¶
func (*DeleteFederatedUserAccountsMetadata) ProtoMessage()
func (*DeleteFederatedUserAccountsMetadata) ProtoReflect ¶
func (x *DeleteFederatedUserAccountsMetadata) ProtoReflect() protoreflect.Message
func (*DeleteFederatedUserAccountsMetadata) Reset ¶
func (x *DeleteFederatedUserAccountsMetadata) Reset()
func (*DeleteFederatedUserAccountsMetadata) SetFederationId ¶
func (m *DeleteFederatedUserAccountsMetadata) SetFederationId(v string)
func (*DeleteFederatedUserAccountsMetadata) String ¶
func (x *DeleteFederatedUserAccountsMetadata) String() string
type DeleteFederatedUserAccountsRequest ¶
type DeleteFederatedUserAccountsRequest struct { // ID of the federation to delete users from. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // List of subjects to delete. SubjectIds []string `protobuf:"bytes,2,rep,name=subject_ids,json=subjectIds,proto3" json:"subject_ids,omitempty"` // contains filtered or unexported fields }
func (*DeleteFederatedUserAccountsRequest) Descriptor
deprecated
func (*DeleteFederatedUserAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFederatedUserAccountsRequest.ProtoReflect.Descriptor instead.
func (*DeleteFederatedUserAccountsRequest) GetFederationId ¶
func (x *DeleteFederatedUserAccountsRequest) GetFederationId() string
func (*DeleteFederatedUserAccountsRequest) GetSubjectIds ¶
func (x *DeleteFederatedUserAccountsRequest) GetSubjectIds() []string
func (*DeleteFederatedUserAccountsRequest) ProtoMessage ¶
func (*DeleteFederatedUserAccountsRequest) ProtoMessage()
func (*DeleteFederatedUserAccountsRequest) ProtoReflect ¶
func (x *DeleteFederatedUserAccountsRequest) ProtoReflect() protoreflect.Message
func (*DeleteFederatedUserAccountsRequest) Reset ¶
func (x *DeleteFederatedUserAccountsRequest) Reset()
func (*DeleteFederatedUserAccountsRequest) SetFederationId ¶
func (m *DeleteFederatedUserAccountsRequest) SetFederationId(v string)
func (*DeleteFederatedUserAccountsRequest) SetSubjectIds ¶
func (m *DeleteFederatedUserAccountsRequest) SetSubjectIds(v []string)
func (*DeleteFederatedUserAccountsRequest) String ¶
func (x *DeleteFederatedUserAccountsRequest) String() string
type DeleteFederatedUserAccountsResponse ¶
type DeleteFederatedUserAccountsResponse struct { // List of subjects deleted by [FederationService.DeleteUserAccounts] request. DeletedSubjects []string `protobuf:"bytes,1,rep,name=deleted_subjects,json=deletedSubjects,proto3" json:"deleted_subjects,omitempty"` // List of subjects found in [FederationService.DeleteUserAccounts] request that do not exist. NonExistingSubjects []string `protobuf:"bytes,2,rep,name=non_existing_subjects,json=nonExistingSubjects,proto3" json:"non_existing_subjects,omitempty"` // contains filtered or unexported fields }
func (*DeleteFederatedUserAccountsResponse) Descriptor
deprecated
func (*DeleteFederatedUserAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFederatedUserAccountsResponse.ProtoReflect.Descriptor instead.
func (*DeleteFederatedUserAccountsResponse) GetDeletedSubjects ¶
func (x *DeleteFederatedUserAccountsResponse) GetDeletedSubjects() []string
func (*DeleteFederatedUserAccountsResponse) GetNonExistingSubjects ¶
func (x *DeleteFederatedUserAccountsResponse) GetNonExistingSubjects() []string
func (*DeleteFederatedUserAccountsResponse) ProtoMessage ¶
func (*DeleteFederatedUserAccountsResponse) ProtoMessage()
func (*DeleteFederatedUserAccountsResponse) ProtoReflect ¶
func (x *DeleteFederatedUserAccountsResponse) ProtoReflect() protoreflect.Message
func (*DeleteFederatedUserAccountsResponse) Reset ¶
func (x *DeleteFederatedUserAccountsResponse) Reset()
func (*DeleteFederatedUserAccountsResponse) SetDeletedSubjects ¶
func (m *DeleteFederatedUserAccountsResponse) SetDeletedSubjects(v []string)
func (*DeleteFederatedUserAccountsResponse) SetNonExistingSubjects ¶
func (m *DeleteFederatedUserAccountsResponse) SetNonExistingSubjects(v []string)
func (*DeleteFederatedUserAccountsResponse) String ¶
func (x *DeleteFederatedUserAccountsResponse) String() string
type DeleteFederationMetadata ¶
type DeleteFederationMetadata struct { // ID of the federation that is being deleted. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFederationMetadata) Descriptor
deprecated
func (*DeleteFederationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFederationMetadata.ProtoReflect.Descriptor instead.
func (*DeleteFederationMetadata) GetFederationId ¶
func (x *DeleteFederationMetadata) GetFederationId() string
func (*DeleteFederationMetadata) ProtoMessage ¶
func (*DeleteFederationMetadata) ProtoMessage()
func (*DeleteFederationMetadata) ProtoReflect ¶
func (x *DeleteFederationMetadata) ProtoReflect() protoreflect.Message
func (*DeleteFederationMetadata) Reset ¶
func (x *DeleteFederationMetadata) Reset()
func (*DeleteFederationMetadata) SetFederationId ¶
func (m *DeleteFederationMetadata) SetFederationId(v string)
func (*DeleteFederationMetadata) String ¶
func (x *DeleteFederationMetadata) String() string
type DeleteFederationRequest ¶
type DeleteFederationRequest struct { // ID of the federation to delete. // To get the federation ID, make a [FederationService.List] request. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFederationRequest) Descriptor
deprecated
func (*DeleteFederationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFederationRequest.ProtoReflect.Descriptor instead.
func (*DeleteFederationRequest) GetFederationId ¶
func (x *DeleteFederationRequest) GetFederationId() string
func (*DeleteFederationRequest) ProtoMessage ¶
func (*DeleteFederationRequest) ProtoMessage()
func (*DeleteFederationRequest) ProtoReflect ¶
func (x *DeleteFederationRequest) ProtoReflect() protoreflect.Message
func (*DeleteFederationRequest) Reset ¶
func (x *DeleteFederationRequest) Reset()
func (*DeleteFederationRequest) SetFederationId ¶
func (m *DeleteFederationRequest) SetFederationId(v string)
func (*DeleteFederationRequest) String ¶
func (x *DeleteFederationRequest) String() string
type Federation ¶
type Federation struct { // ID of the federation. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the organization that the federation belongs to. OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // Name of the federation. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the federation. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Browser cookie lifetime in seconds. // If the cookie is still valid, the management console // authenticates the user immediately and redirects them to the home page. CookieMaxAge *durationpb.Duration `protobuf:"bytes,6,opt,name=cookie_max_age,json=cookieMaxAge,proto3" json:"cookie_max_age,omitempty"` // Add new users automatically on successful authentication. // The user becomes member of the organization automatically, // but you need to grant other roles to them. // // If the value is `false`, users who aren't added to the organization // can't log in, even if they have authenticated on your server. AutoCreateAccountOnLogin bool `` /* 140-byte string literal not displayed */ // ID of the IdP server to be used for authentication. // The IdP server also responds to IAM with this ID after the user authenticates. Issuer string `protobuf:"bytes,8,opt,name=issuer,proto3" json:"issuer,omitempty"` // Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type. // // SAML Binding is a mapping of a SAML protocol message onto standard messaging // formats and/or communications protocols. SsoBinding BindingType `` /* 150-byte string literal not displayed */ // Single sign-on endpoint URL. // Specify the link to the IdP login page here. SsoUrl string `protobuf:"bytes,10,opt,name=sso_url,json=ssoUrl,proto3" json:"sso_url,omitempty"` // Federation security settings. SecuritySettings *FederationSecuritySettings `protobuf:"bytes,11,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // Use case insensitive Name IDs. CaseInsensitiveNameIds bool `` /* 133-byte string literal not displayed */ // Resource labels as “ key:value “ pairs. Maximum of 64 per resource. Labels map[string]string `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
A federation. For more information, see [SAML-compatible identity federations](/docs/iam/concepts/federations).
func (*Federation) Descriptor
deprecated
func (*Federation) Descriptor() ([]byte, []int)
Deprecated: Use Federation.ProtoReflect.Descriptor instead.
func (*Federation) GetAutoCreateAccountOnLogin ¶
func (x *Federation) GetAutoCreateAccountOnLogin() bool
func (*Federation) GetCaseInsensitiveNameIds ¶
func (x *Federation) GetCaseInsensitiveNameIds() bool
func (*Federation) GetCookieMaxAge ¶
func (x *Federation) GetCookieMaxAge() *durationpb.Duration
func (*Federation) GetCreatedAt ¶
func (x *Federation) GetCreatedAt() *timestamppb.Timestamp
func (*Federation) GetDescription ¶
func (x *Federation) GetDescription() string
func (*Federation) GetId ¶
func (x *Federation) GetId() string
func (*Federation) GetIssuer ¶
func (x *Federation) GetIssuer() string
func (*Federation) GetLabels ¶
func (x *Federation) GetLabels() map[string]string
func (*Federation) GetName ¶
func (x *Federation) GetName() string
func (*Federation) GetOrganizationId ¶
func (x *Federation) GetOrganizationId() string
func (*Federation) GetSecuritySettings ¶
func (x *Federation) GetSecuritySettings() *FederationSecuritySettings
func (*Federation) GetSsoBinding ¶
func (x *Federation) GetSsoBinding() BindingType
func (*Federation) GetSsoUrl ¶
func (x *Federation) GetSsoUrl() string
func (*Federation) ProtoMessage ¶
func (*Federation) ProtoMessage()
func (*Federation) ProtoReflect ¶
func (x *Federation) ProtoReflect() protoreflect.Message
func (*Federation) Reset ¶
func (x *Federation) Reset()
func (*Federation) SetAutoCreateAccountOnLogin ¶
func (m *Federation) SetAutoCreateAccountOnLogin(v bool)
func (*Federation) SetCaseInsensitiveNameIds ¶
func (m *Federation) SetCaseInsensitiveNameIds(v bool)
func (*Federation) SetCookieMaxAge ¶
func (m *Federation) SetCookieMaxAge(v *durationpb.Duration)
func (*Federation) SetCreatedAt ¶
func (m *Federation) SetCreatedAt(v *timestamppb.Timestamp)
func (*Federation) SetDescription ¶
func (m *Federation) SetDescription(v string)
func (*Federation) SetId ¶
func (m *Federation) SetId(v string)
func (*Federation) SetIssuer ¶
func (m *Federation) SetIssuer(v string)
func (*Federation) SetLabels ¶
func (m *Federation) SetLabels(v map[string]string)
func (*Federation) SetName ¶
func (m *Federation) SetName(v string)
func (*Federation) SetOrganizationId ¶
func (m *Federation) SetOrganizationId(v string)
func (*Federation) SetSecuritySettings ¶
func (m *Federation) SetSecuritySettings(v *FederationSecuritySettings)
func (*Federation) SetSsoBinding ¶
func (m *Federation) SetSsoBinding(v BindingType)
func (*Federation) SetSsoUrl ¶
func (m *Federation) SetSsoUrl(v string)
func (*Federation) String ¶
func (x *Federation) String() string
type FederationSecuritySettings ¶
type FederationSecuritySettings struct { // Enable encrypted assertions. EncryptedAssertions bool `protobuf:"varint,1,opt,name=encrypted_assertions,json=encryptedAssertions,proto3" json:"encrypted_assertions,omitempty"` // Value parameter ForceAuthn in SAMLRequest. ForceAuthn bool `protobuf:"varint,2,opt,name=force_authn,json=forceAuthn,proto3" json:"force_authn,omitempty"` // contains filtered or unexported fields }
Federation security settings.
func (*FederationSecuritySettings) Descriptor
deprecated
func (*FederationSecuritySettings) Descriptor() ([]byte, []int)
Deprecated: Use FederationSecuritySettings.ProtoReflect.Descriptor instead.
func (*FederationSecuritySettings) GetEncryptedAssertions ¶
func (x *FederationSecuritySettings) GetEncryptedAssertions() bool
func (*FederationSecuritySettings) GetForceAuthn ¶
func (x *FederationSecuritySettings) GetForceAuthn() bool
func (*FederationSecuritySettings) ProtoMessage ¶
func (*FederationSecuritySettings) ProtoMessage()
func (*FederationSecuritySettings) ProtoReflect ¶
func (x *FederationSecuritySettings) ProtoReflect() protoreflect.Message
func (*FederationSecuritySettings) Reset ¶
func (x *FederationSecuritySettings) Reset()
func (*FederationSecuritySettings) SetEncryptedAssertions ¶
func (m *FederationSecuritySettings) SetEncryptedAssertions(v bool)
func (*FederationSecuritySettings) SetForceAuthn ¶
func (m *FederationSecuritySettings) SetForceAuthn(v bool)
func (*FederationSecuritySettings) String ¶
func (x *FederationSecuritySettings) String() string
type FederationServiceClient ¶
type FederationServiceClient interface { // Returns the specified federation. // // To get the list of available federations, make a [List] request. Get(ctx context.Context, in *GetFederationRequest, opts ...grpc.CallOption) (*Federation, error) // Retrieves the list of federations in the specified organization. List(ctx context.Context, in *ListFederationsRequest, opts ...grpc.CallOption) (*ListFederationsResponse, error) // Creates a federation in the specified organization. Create(ctx context.Context, in *CreateFederationRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified federation. Update(ctx context.Context, in *UpdateFederationRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified federation. Delete(ctx context.Context, in *DeleteFederationRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Adds users to the specified federation. AddUserAccounts(ctx context.Context, in *AddFederatedUserAccountsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes users from the specified federation. DeleteUserAccounts(ctx context.Context, in *DeleteFederatedUserAccountsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists users for the specified federation. ListUserAccounts(ctx context.Context, in *ListFederatedUserAccountsRequest, opts ...grpc.CallOption) (*ListFederatedUserAccountsResponse, error) // Lists operations for the specified federation. ListOperations(ctx context.Context, in *ListFederationOperationsRequest, opts ...grpc.CallOption) (*ListFederationOperationsResponse, error) }
FederationServiceClient is the client API for FederationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A set of methods for managing federations.
func NewFederationServiceClient ¶
func NewFederationServiceClient(cc grpc.ClientConnInterface) FederationServiceClient
type FederationServiceServer ¶
type FederationServiceServer interface { // Returns the specified federation. // // To get the list of available federations, make a [List] request. Get(context.Context, *GetFederationRequest) (*Federation, error) // Retrieves the list of federations in the specified organization. List(context.Context, *ListFederationsRequest) (*ListFederationsResponse, error) // Creates a federation in the specified organization. Create(context.Context, *CreateFederationRequest) (*operation.Operation, error) // Updates the specified federation. Update(context.Context, *UpdateFederationRequest) (*operation.Operation, error) // Deletes the specified federation. Delete(context.Context, *DeleteFederationRequest) (*operation.Operation, error) // Adds users to the specified federation. AddUserAccounts(context.Context, *AddFederatedUserAccountsRequest) (*operation.Operation, error) // Deletes users from the specified federation. DeleteUserAccounts(context.Context, *DeleteFederatedUserAccountsRequest) (*operation.Operation, error) // Lists users for the specified federation. ListUserAccounts(context.Context, *ListFederatedUserAccountsRequest) (*ListFederatedUserAccountsResponse, error) // Lists operations for the specified federation. ListOperations(context.Context, *ListFederationOperationsRequest) (*ListFederationOperationsResponse, error) }
FederationServiceServer is the server API for FederationService service. All implementations should embed UnimplementedFederationServiceServer for forward compatibility.
A set of methods for managing federations.
type GetCertificateRequest ¶
type GetCertificateRequest struct { // ID of the certificate to return. // To get the certificate ID, make a [CertificateService.List] request. CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*GetCertificateRequest) Descriptor
deprecated
func (*GetCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.
func (*GetCertificateRequest) GetCertificateId ¶
func (x *GetCertificateRequest) GetCertificateId() string
func (*GetCertificateRequest) ProtoMessage ¶
func (*GetCertificateRequest) ProtoMessage()
func (*GetCertificateRequest) ProtoReflect ¶
func (x *GetCertificateRequest) ProtoReflect() protoreflect.Message
func (*GetCertificateRequest) Reset ¶
func (x *GetCertificateRequest) Reset()
func (*GetCertificateRequest) SetCertificateId ¶
func (m *GetCertificateRequest) SetCertificateId(v string)
func (*GetCertificateRequest) String ¶
func (x *GetCertificateRequest) String() string
type GetFederationRequest ¶
type GetFederationRequest struct { // ID of the federation to return. // To get the federation ID, make a [FederationService.List] request. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // contains filtered or unexported fields }
func (*GetFederationRequest) Descriptor
deprecated
func (*GetFederationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFederationRequest.ProtoReflect.Descriptor instead.
func (*GetFederationRequest) GetFederationId ¶
func (x *GetFederationRequest) GetFederationId() string
func (*GetFederationRequest) ProtoMessage ¶
func (*GetFederationRequest) ProtoMessage()
func (*GetFederationRequest) ProtoReflect ¶
func (x *GetFederationRequest) ProtoReflect() protoreflect.Message
func (*GetFederationRequest) Reset ¶
func (x *GetFederationRequest) Reset()
func (*GetFederationRequest) SetFederationId ¶
func (m *GetFederationRequest) SetFederationId(v string)
func (*GetFederationRequest) String ¶
func (x *GetFederationRequest) String() string
type ListCertificateOperationsRequest ¶
type ListCertificateOperationsRequest struct { // ID of the certificate to list operations for. CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListCertificateOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] // to the [ListCertificateOperationsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCertificateOperationsRequest) Descriptor
deprecated
func (*ListCertificateOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCertificateOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListCertificateOperationsRequest) GetCertificateId ¶
func (x *ListCertificateOperationsRequest) GetCertificateId() string
func (*ListCertificateOperationsRequest) GetPageSize ¶
func (x *ListCertificateOperationsRequest) GetPageSize() int64
func (*ListCertificateOperationsRequest) GetPageToken ¶
func (x *ListCertificateOperationsRequest) GetPageToken() string
func (*ListCertificateOperationsRequest) ProtoMessage ¶
func (*ListCertificateOperationsRequest) ProtoMessage()
func (*ListCertificateOperationsRequest) ProtoReflect ¶
func (x *ListCertificateOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListCertificateOperationsRequest) Reset ¶
func (x *ListCertificateOperationsRequest) Reset()
func (*ListCertificateOperationsRequest) SetCertificateId ¶
func (m *ListCertificateOperationsRequest) SetCertificateId(v string)
func (*ListCertificateOperationsRequest) SetPageSize ¶
func (m *ListCertificateOperationsRequest) SetPageSize(v int64)
func (*ListCertificateOperationsRequest) SetPageToken ¶
func (m *ListCertificateOperationsRequest) SetPageToken(v string)
func (*ListCertificateOperationsRequest) String ¶
func (x *ListCertificateOperationsRequest) String() string
type ListCertificateOperationsResponse ¶
type ListCertificateOperationsResponse struct { // List of operations for the specified certificate. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListCertificateOperationsRequest.page_size], use the [next_page_token] as the value // for the [ListCertificateOperationsRequest.page_token] query parameter in the next list request. // Each subsequent list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCertificateOperationsResponse) Descriptor
deprecated
func (*ListCertificateOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCertificateOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListCertificateOperationsResponse) GetNextPageToken ¶
func (x *ListCertificateOperationsResponse) GetNextPageToken() string
func (*ListCertificateOperationsResponse) GetOperations ¶
func (x *ListCertificateOperationsResponse) GetOperations() []*operation.Operation
func (*ListCertificateOperationsResponse) ProtoMessage ¶
func (*ListCertificateOperationsResponse) ProtoMessage()
func (*ListCertificateOperationsResponse) ProtoReflect ¶
func (x *ListCertificateOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListCertificateOperationsResponse) Reset ¶
func (x *ListCertificateOperationsResponse) Reset()
func (*ListCertificateOperationsResponse) SetNextPageToken ¶
func (m *ListCertificateOperationsResponse) SetNextPageToken(v string)
func (*ListCertificateOperationsResponse) SetOperations ¶
func (m *ListCertificateOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListCertificateOperationsResponse) String ¶
func (x *ListCertificateOperationsResponse) String() string
type ListCertificatesRequest ¶
type ListCertificatesRequest struct { // ID of the federation to list certificates in. // To get the federation ID make a [yandex.cloud.organizationmanager.v1.saml.FederationService.List] request. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListCertificatesResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] // to the [ListCertificatesResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters resources listed in the response. // The expression must specify: // 1. The field name. Currently you can use filtering only on [Certificate.name] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListCertificatesRequest) Descriptor
deprecated
func (*ListCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead.
func (*ListCertificatesRequest) GetFederationId ¶
func (x *ListCertificatesRequest) GetFederationId() string
func (*ListCertificatesRequest) GetFilter ¶
func (x *ListCertificatesRequest) GetFilter() string
func (*ListCertificatesRequest) GetPageSize ¶
func (x *ListCertificatesRequest) GetPageSize() int64
func (*ListCertificatesRequest) GetPageToken ¶
func (x *ListCertificatesRequest) GetPageToken() string
func (*ListCertificatesRequest) ProtoMessage ¶
func (*ListCertificatesRequest) ProtoMessage()
func (*ListCertificatesRequest) ProtoReflect ¶
func (x *ListCertificatesRequest) ProtoReflect() protoreflect.Message
func (*ListCertificatesRequest) Reset ¶
func (x *ListCertificatesRequest) Reset()
func (*ListCertificatesRequest) SetFederationId ¶
func (m *ListCertificatesRequest) SetFederationId(v string)
func (*ListCertificatesRequest) SetFilter ¶
func (m *ListCertificatesRequest) SetFilter(v string)
func (*ListCertificatesRequest) SetPageSize ¶
func (m *ListCertificatesRequest) SetPageSize(v int64)
func (*ListCertificatesRequest) SetPageToken ¶
func (m *ListCertificatesRequest) SetPageToken(v string)
func (*ListCertificatesRequest) String ¶
func (x *ListCertificatesRequest) String() string
type ListCertificatesResponse ¶
type ListCertificatesResponse struct { // List of certificates. Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListCertificatesRequest.page_size], use // the [next_page_token] as the value // for the [ListCertificatesRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListCertificatesResponse) Descriptor
deprecated
func (*ListCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCertificatesResponse.ProtoReflect.Descriptor instead.
func (*ListCertificatesResponse) GetCertificates ¶
func (x *ListCertificatesResponse) GetCertificates() []*Certificate
func (*ListCertificatesResponse) GetNextPageToken ¶
func (x *ListCertificatesResponse) GetNextPageToken() string
func (*ListCertificatesResponse) ProtoMessage ¶
func (*ListCertificatesResponse) ProtoMessage()
func (*ListCertificatesResponse) ProtoReflect ¶
func (x *ListCertificatesResponse) ProtoReflect() protoreflect.Message
func (*ListCertificatesResponse) Reset ¶
func (x *ListCertificatesResponse) Reset()
func (*ListCertificatesResponse) SetCertificates ¶
func (m *ListCertificatesResponse) SetCertificates(v []*Certificate)
func (*ListCertificatesResponse) SetNextPageToken ¶
func (m *ListCertificatesResponse) SetNextPageToken(v string)
func (*ListCertificatesResponse) String ¶
func (x *ListCertificatesResponse) String() string
type ListFederatedUserAccountsRequest ¶
type ListFederatedUserAccountsRequest struct { // ID of the federation to list user accounts for. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListFederatedUserAccountsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] // to the [ListFederatedUserAccountsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters resources listed in the response. // The expression must specify: // 1. The field name. Currently you can use filtering only on the [name_id] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 1-1000 characters long and match the regular expression // `[a-z0-9A-Z/@_.\-=+*\\]+`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListFederatedUserAccountsRequest) Descriptor
deprecated
func (*ListFederatedUserAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFederatedUserAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListFederatedUserAccountsRequest) GetFederationId ¶
func (x *ListFederatedUserAccountsRequest) GetFederationId() string
func (*ListFederatedUserAccountsRequest) GetFilter ¶
func (x *ListFederatedUserAccountsRequest) GetFilter() string
func (*ListFederatedUserAccountsRequest) GetPageSize ¶
func (x *ListFederatedUserAccountsRequest) GetPageSize() int64
func (*ListFederatedUserAccountsRequest) GetPageToken ¶
func (x *ListFederatedUserAccountsRequest) GetPageToken() string
func (*ListFederatedUserAccountsRequest) ProtoMessage ¶
func (*ListFederatedUserAccountsRequest) ProtoMessage()
func (*ListFederatedUserAccountsRequest) ProtoReflect ¶
func (x *ListFederatedUserAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListFederatedUserAccountsRequest) Reset ¶
func (x *ListFederatedUserAccountsRequest) Reset()
func (*ListFederatedUserAccountsRequest) SetFederationId ¶
func (m *ListFederatedUserAccountsRequest) SetFederationId(v string)
func (*ListFederatedUserAccountsRequest) SetFilter ¶
func (m *ListFederatedUserAccountsRequest) SetFilter(v string)
func (*ListFederatedUserAccountsRequest) SetPageSize ¶
func (m *ListFederatedUserAccountsRequest) SetPageSize(v int64)
func (*ListFederatedUserAccountsRequest) SetPageToken ¶
func (m *ListFederatedUserAccountsRequest) SetPageToken(v string)
func (*ListFederatedUserAccountsRequest) String ¶
func (x *ListFederatedUserAccountsRequest) String() string
type ListFederatedUserAccountsResponse ¶
type ListFederatedUserAccountsResponse struct { // List of user accounts for the specified federation. UserAccounts []*v1.UserAccount `protobuf:"bytes,1,rep,name=user_accounts,json=userAccounts,proto3" json:"user_accounts,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListFederatedUserAccountsRequest.page_size], use the [next_page_token] as the value // for the [ListFederatedUserAccountsRequest.page_token] query parameter in the next list request. // Each subsequent list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListFederatedUserAccountsResponse) Descriptor
deprecated
func (*ListFederatedUserAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFederatedUserAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListFederatedUserAccountsResponse) GetNextPageToken ¶
func (x *ListFederatedUserAccountsResponse) GetNextPageToken() string
func (*ListFederatedUserAccountsResponse) GetUserAccounts ¶
func (x *ListFederatedUserAccountsResponse) GetUserAccounts() []*v1.UserAccount
func (*ListFederatedUserAccountsResponse) ProtoMessage ¶
func (*ListFederatedUserAccountsResponse) ProtoMessage()
func (*ListFederatedUserAccountsResponse) ProtoReflect ¶
func (x *ListFederatedUserAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListFederatedUserAccountsResponse) Reset ¶
func (x *ListFederatedUserAccountsResponse) Reset()
func (*ListFederatedUserAccountsResponse) SetNextPageToken ¶
func (m *ListFederatedUserAccountsResponse) SetNextPageToken(v string)
func (*ListFederatedUserAccountsResponse) SetUserAccounts ¶
func (m *ListFederatedUserAccountsResponse) SetUserAccounts(v []*v1.UserAccount)
func (*ListFederatedUserAccountsResponse) String ¶
func (x *ListFederatedUserAccountsResponse) String() string
type ListFederationOperationsRequest ¶
type ListFederationOperationsRequest struct { // ID of the federation to list operations for. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], the service returns a [ListFederationOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] // to the [ListFederationOperationsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListFederationOperationsRequest) Descriptor
deprecated
func (*ListFederationOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFederationOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListFederationOperationsRequest) GetFederationId ¶
func (x *ListFederationOperationsRequest) GetFederationId() string
func (*ListFederationOperationsRequest) GetPageSize ¶
func (x *ListFederationOperationsRequest) GetPageSize() int64
func (*ListFederationOperationsRequest) GetPageToken ¶
func (x *ListFederationOperationsRequest) GetPageToken() string
func (*ListFederationOperationsRequest) ProtoMessage ¶
func (*ListFederationOperationsRequest) ProtoMessage()
func (*ListFederationOperationsRequest) ProtoReflect ¶
func (x *ListFederationOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListFederationOperationsRequest) Reset ¶
func (x *ListFederationOperationsRequest) Reset()
func (*ListFederationOperationsRequest) SetFederationId ¶
func (m *ListFederationOperationsRequest) SetFederationId(v string)
func (*ListFederationOperationsRequest) SetPageSize ¶
func (m *ListFederationOperationsRequest) SetPageSize(v int64)
func (*ListFederationOperationsRequest) SetPageToken ¶
func (m *ListFederationOperationsRequest) SetPageToken(v string)
func (*ListFederationOperationsRequest) String ¶
func (x *ListFederationOperationsRequest) String() string
type ListFederationOperationsResponse ¶
type ListFederationOperationsResponse struct { // List of operations for the specified federation. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListFederationOperationsRequest.page_size], use the [next_page_token] as the value // for the [ListFederationOperationsRequest.page_token] query parameter in the next list request. // Each subsequent list request will have its own [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListFederationOperationsResponse) Descriptor
deprecated
func (*ListFederationOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFederationOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListFederationOperationsResponse) GetNextPageToken ¶
func (x *ListFederationOperationsResponse) GetNextPageToken() string
func (*ListFederationOperationsResponse) GetOperations ¶
func (x *ListFederationOperationsResponse) GetOperations() []*operation.Operation
func (*ListFederationOperationsResponse) ProtoMessage ¶
func (*ListFederationOperationsResponse) ProtoMessage()
func (*ListFederationOperationsResponse) ProtoReflect ¶
func (x *ListFederationOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListFederationOperationsResponse) Reset ¶
func (x *ListFederationOperationsResponse) Reset()
func (*ListFederationOperationsResponse) SetNextPageToken ¶
func (m *ListFederationOperationsResponse) SetNextPageToken(v string)
func (*ListFederationOperationsResponse) SetOperations ¶
func (m *ListFederationOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListFederationOperationsResponse) String ¶
func (x *ListFederationOperationsResponse) String() string
type ListFederationsRequest ¶
type ListFederationsRequest struct { // ID of the organization to list federations in. // To get the organization ID, make a [yandex.cloud.organizationmanager.v1.OrganizationService.List] request. OrganizationId string `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than [page_size], // the service returns a [ListFederationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // Default value: 100 PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set [page_token] // to the [ListFederationsResponse.next_page_token] // returned by a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters resources listed in the response. // The expression must specify: // 1. The field name. Currently you can use filtering only on the [Federation.name] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListFederationsRequest) Descriptor
deprecated
func (*ListFederationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFederationsRequest.ProtoReflect.Descriptor instead.
func (*ListFederationsRequest) GetFilter ¶
func (x *ListFederationsRequest) GetFilter() string
func (*ListFederationsRequest) GetOrganizationId ¶
func (x *ListFederationsRequest) GetOrganizationId() string
func (*ListFederationsRequest) GetPageSize ¶
func (x *ListFederationsRequest) GetPageSize() int64
func (*ListFederationsRequest) GetPageToken ¶
func (x *ListFederationsRequest) GetPageToken() string
func (*ListFederationsRequest) ProtoMessage ¶
func (*ListFederationsRequest) ProtoMessage()
func (*ListFederationsRequest) ProtoReflect ¶
func (x *ListFederationsRequest) ProtoReflect() protoreflect.Message
func (*ListFederationsRequest) Reset ¶
func (x *ListFederationsRequest) Reset()
func (*ListFederationsRequest) SetFilter ¶
func (m *ListFederationsRequest) SetFilter(v string)
func (*ListFederationsRequest) SetOrganizationId ¶
func (m *ListFederationsRequest) SetOrganizationId(v string)
func (*ListFederationsRequest) SetPageSize ¶
func (m *ListFederationsRequest) SetPageSize(v int64)
func (*ListFederationsRequest) SetPageToken ¶
func (m *ListFederationsRequest) SetPageToken(v string)
func (*ListFederationsRequest) String ¶
func (x *ListFederationsRequest) String() string
type ListFederationsResponse ¶
type ListFederationsResponse struct { // List of federations. Federations []*Federation `protobuf:"bytes,1,rep,name=federations,proto3" json:"federations,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListFederationsRequest.page_size], use // the [next_page_token] as the value // for the [ListFederationsRequest.page_token] query parameter // in the next list request. Each subsequent list request will have its own // [next_page_token] to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListFederationsResponse) Descriptor
deprecated
func (*ListFederationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFederationsResponse.ProtoReflect.Descriptor instead.
func (*ListFederationsResponse) GetFederations ¶
func (x *ListFederationsResponse) GetFederations() []*Federation
func (*ListFederationsResponse) GetNextPageToken ¶
func (x *ListFederationsResponse) GetNextPageToken() string
func (*ListFederationsResponse) ProtoMessage ¶
func (*ListFederationsResponse) ProtoMessage()
func (*ListFederationsResponse) ProtoReflect ¶
func (x *ListFederationsResponse) ProtoReflect() protoreflect.Message
func (*ListFederationsResponse) Reset ¶
func (x *ListFederationsResponse) Reset()
func (*ListFederationsResponse) SetFederations ¶
func (m *ListFederationsResponse) SetFederations(v []*Federation)
func (*ListFederationsResponse) SetNextPageToken ¶
func (m *ListFederationsResponse) SetNextPageToken(v string)
func (*ListFederationsResponse) String ¶
func (x *ListFederationsResponse) String() string
type UnimplementedCertificateServiceServer ¶
type UnimplementedCertificateServiceServer struct{}
UnimplementedCertificateServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCertificateServiceServer) Create ¶
func (UnimplementedCertificateServiceServer) Create(context.Context, *CreateCertificateRequest) (*operation.Operation, error)
func (UnimplementedCertificateServiceServer) Delete ¶
func (UnimplementedCertificateServiceServer) Delete(context.Context, *DeleteCertificateRequest) (*operation.Operation, error)
func (UnimplementedCertificateServiceServer) Get ¶
func (UnimplementedCertificateServiceServer) Get(context.Context, *GetCertificateRequest) (*Certificate, error)
func (UnimplementedCertificateServiceServer) ListOperations ¶
func (UnimplementedCertificateServiceServer) ListOperations(context.Context, *ListCertificateOperationsRequest) (*ListCertificateOperationsResponse, error)
func (UnimplementedCertificateServiceServer) Update ¶
func (UnimplementedCertificateServiceServer) Update(context.Context, *UpdateCertificateRequest) (*operation.Operation, error)
type UnimplementedFederationServiceServer ¶
type UnimplementedFederationServiceServer struct{}
UnimplementedFederationServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedFederationServiceServer) AddUserAccounts ¶
func (UnimplementedFederationServiceServer) AddUserAccounts(context.Context, *AddFederatedUserAccountsRequest) (*operation.Operation, error)
func (UnimplementedFederationServiceServer) Create ¶
func (UnimplementedFederationServiceServer) Create(context.Context, *CreateFederationRequest) (*operation.Operation, error)
func (UnimplementedFederationServiceServer) Delete ¶
func (UnimplementedFederationServiceServer) Delete(context.Context, *DeleteFederationRequest) (*operation.Operation, error)
func (UnimplementedFederationServiceServer) DeleteUserAccounts ¶
func (UnimplementedFederationServiceServer) DeleteUserAccounts(context.Context, *DeleteFederatedUserAccountsRequest) (*operation.Operation, error)
func (UnimplementedFederationServiceServer) Get ¶
func (UnimplementedFederationServiceServer) Get(context.Context, *GetFederationRequest) (*Federation, error)
func (UnimplementedFederationServiceServer) ListOperations ¶
func (UnimplementedFederationServiceServer) ListOperations(context.Context, *ListFederationOperationsRequest) (*ListFederationOperationsResponse, error)
func (UnimplementedFederationServiceServer) ListUserAccounts ¶
func (UnimplementedFederationServiceServer) ListUserAccounts(context.Context, *ListFederatedUserAccountsRequest) (*ListFederatedUserAccountsResponse, error)
func (UnimplementedFederationServiceServer) Update ¶
func (UnimplementedFederationServiceServer) Update(context.Context, *UpdateFederationRequest) (*operation.Operation, error)
type UnsafeCertificateServiceServer ¶
type UnsafeCertificateServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCertificateServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CertificateServiceServer will result in compilation errors.
type UnsafeFederationServiceServer ¶
type UnsafeFederationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFederationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FederationServiceServer will result in compilation errors.
type UpdateCertificateMetadata ¶
type UpdateCertificateMetadata struct { // ID of the certificate that is being updated. CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateCertificateMetadata) Descriptor
deprecated
func (*UpdateCertificateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCertificateMetadata.ProtoReflect.Descriptor instead.
func (*UpdateCertificateMetadata) GetCertificateId ¶
func (x *UpdateCertificateMetadata) GetCertificateId() string
func (*UpdateCertificateMetadata) ProtoMessage ¶
func (*UpdateCertificateMetadata) ProtoMessage()
func (*UpdateCertificateMetadata) ProtoReflect ¶
func (x *UpdateCertificateMetadata) ProtoReflect() protoreflect.Message
func (*UpdateCertificateMetadata) Reset ¶
func (x *UpdateCertificateMetadata) Reset()
func (*UpdateCertificateMetadata) SetCertificateId ¶
func (m *UpdateCertificateMetadata) SetCertificateId(v string)
func (*UpdateCertificateMetadata) String ¶
func (x *UpdateCertificateMetadata) String() string
type UpdateCertificateRequest ¶
type UpdateCertificateRequest struct { // ID of the certificate to update. // To get the certificate ID, make a [CertificateService.List] request. CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // Field mask that specifies which fields of the certificate are going to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Name of the certificate. // The name must be unique within the federation. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the certificate. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Certificate data in PEM format. Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UpdateCertificateRequest) Descriptor
deprecated
func (*UpdateCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCertificateRequest.ProtoReflect.Descriptor instead.
func (*UpdateCertificateRequest) GetCertificateId ¶
func (x *UpdateCertificateRequest) GetCertificateId() string
func (*UpdateCertificateRequest) GetData ¶
func (x *UpdateCertificateRequest) GetData() string
func (*UpdateCertificateRequest) GetDescription ¶
func (x *UpdateCertificateRequest) GetDescription() string
func (*UpdateCertificateRequest) GetName ¶
func (x *UpdateCertificateRequest) GetName() string
func (*UpdateCertificateRequest) GetUpdateMask ¶
func (x *UpdateCertificateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateCertificateRequest) ProtoMessage ¶
func (*UpdateCertificateRequest) ProtoMessage()
func (*UpdateCertificateRequest) ProtoReflect ¶
func (x *UpdateCertificateRequest) ProtoReflect() protoreflect.Message
func (*UpdateCertificateRequest) Reset ¶
func (x *UpdateCertificateRequest) Reset()
func (*UpdateCertificateRequest) SetCertificateId ¶
func (m *UpdateCertificateRequest) SetCertificateId(v string)
func (*UpdateCertificateRequest) SetData ¶
func (m *UpdateCertificateRequest) SetData(v string)
func (*UpdateCertificateRequest) SetDescription ¶
func (m *UpdateCertificateRequest) SetDescription(v string)
func (*UpdateCertificateRequest) SetName ¶
func (m *UpdateCertificateRequest) SetName(v string)
func (*UpdateCertificateRequest) SetUpdateMask ¶
func (m *UpdateCertificateRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateCertificateRequest) String ¶
func (x *UpdateCertificateRequest) String() string
type UpdateFederationMetadata ¶
type UpdateFederationMetadata struct { // ID of the federation that is being updated. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateFederationMetadata) Descriptor
deprecated
func (*UpdateFederationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFederationMetadata.ProtoReflect.Descriptor instead.
func (*UpdateFederationMetadata) GetFederationId ¶
func (x *UpdateFederationMetadata) GetFederationId() string
func (*UpdateFederationMetadata) ProtoMessage ¶
func (*UpdateFederationMetadata) ProtoMessage()
func (*UpdateFederationMetadata) ProtoReflect ¶
func (x *UpdateFederationMetadata) ProtoReflect() protoreflect.Message
func (*UpdateFederationMetadata) Reset ¶
func (x *UpdateFederationMetadata) Reset()
func (*UpdateFederationMetadata) SetFederationId ¶
func (m *UpdateFederationMetadata) SetFederationId(v string)
func (*UpdateFederationMetadata) String ¶
func (x *UpdateFederationMetadata) String() string
type UpdateFederationRequest ¶
type UpdateFederationRequest struct { // ID of the federation to update. // To get the federation ID, make a [FederationService.List] request. FederationId string `protobuf:"bytes,1,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"` // Field mask that specifies which fields of the federation are going to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Name of the federation. // The name must be unique within the organization. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the federation. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Browser cookie lifetime in seconds. // If the cookie is still valid, the management console // authenticates the user immediately and redirects them to the home page. // The default value is `8h`. CookieMaxAge *durationpb.Duration `protobuf:"bytes,5,opt,name=cookie_max_age,json=cookieMaxAge,proto3" json:"cookie_max_age,omitempty"` // Add new users automatically on successful authentication. // The user becomes member of the organization automatically, // but you need to grant other roles to them. // // If the value is `false`, users who aren't added to the organization // can't log in, even if they have authenticated on your server. AutoCreateAccountOnLogin bool `` /* 140-byte string literal not displayed */ // ID of the IdP server to be used for authentication. // The IdP server also responds to IAM with this ID after the user authenticates. Issuer string `protobuf:"bytes,7,opt,name=issuer,proto3" json:"issuer,omitempty"` // Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type. // // SAML Binding is a mapping of a SAML protocol message onto standard messaging // formats and/or communications protocols. SsoBinding BindingType `` /* 150-byte string literal not displayed */ // Single sign-on endpoint URL. // Specify the link to the IdP login page here. SsoUrl string `protobuf:"bytes,9,opt,name=sso_url,json=ssoUrl,proto3" json:"sso_url,omitempty"` // Federation security settings. SecuritySettings *FederationSecuritySettings `protobuf:"bytes,10,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // Use case insensitive name ids. CaseInsensitiveNameIds bool `` /* 133-byte string literal not displayed */ // Resource labels as “ key:value “ pairs. Labels map[string]string `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateFederationRequest) Descriptor
deprecated
func (*UpdateFederationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFederationRequest.ProtoReflect.Descriptor instead.
func (*UpdateFederationRequest) GetAutoCreateAccountOnLogin ¶
func (x *UpdateFederationRequest) GetAutoCreateAccountOnLogin() bool
func (*UpdateFederationRequest) GetCaseInsensitiveNameIds ¶
func (x *UpdateFederationRequest) GetCaseInsensitiveNameIds() bool
func (*UpdateFederationRequest) GetCookieMaxAge ¶
func (x *UpdateFederationRequest) GetCookieMaxAge() *durationpb.Duration
func (*UpdateFederationRequest) GetDescription ¶
func (x *UpdateFederationRequest) GetDescription() string
func (*UpdateFederationRequest) GetFederationId ¶
func (x *UpdateFederationRequest) GetFederationId() string
func (*UpdateFederationRequest) GetIssuer ¶
func (x *UpdateFederationRequest) GetIssuer() string
func (*UpdateFederationRequest) GetLabels ¶
func (x *UpdateFederationRequest) GetLabels() map[string]string
func (*UpdateFederationRequest) GetName ¶
func (x *UpdateFederationRequest) GetName() string
func (*UpdateFederationRequest) GetSecuritySettings ¶
func (x *UpdateFederationRequest) GetSecuritySettings() *FederationSecuritySettings
func (*UpdateFederationRequest) GetSsoBinding ¶
func (x *UpdateFederationRequest) GetSsoBinding() BindingType
func (*UpdateFederationRequest) GetSsoUrl ¶
func (x *UpdateFederationRequest) GetSsoUrl() string
func (*UpdateFederationRequest) GetUpdateMask ¶
func (x *UpdateFederationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateFederationRequest) ProtoMessage ¶
func (*UpdateFederationRequest) ProtoMessage()
func (*UpdateFederationRequest) ProtoReflect ¶
func (x *UpdateFederationRequest) ProtoReflect() protoreflect.Message
func (*UpdateFederationRequest) Reset ¶
func (x *UpdateFederationRequest) Reset()
func (*UpdateFederationRequest) SetAutoCreateAccountOnLogin ¶
func (m *UpdateFederationRequest) SetAutoCreateAccountOnLogin(v bool)
func (*UpdateFederationRequest) SetCaseInsensitiveNameIds ¶
func (m *UpdateFederationRequest) SetCaseInsensitiveNameIds(v bool)
func (*UpdateFederationRequest) SetCookieMaxAge ¶
func (m *UpdateFederationRequest) SetCookieMaxAge(v *durationpb.Duration)
func (*UpdateFederationRequest) SetDescription ¶
func (m *UpdateFederationRequest) SetDescription(v string)
func (*UpdateFederationRequest) SetFederationId ¶
func (m *UpdateFederationRequest) SetFederationId(v string)
func (*UpdateFederationRequest) SetIssuer ¶
func (m *UpdateFederationRequest) SetIssuer(v string)
func (*UpdateFederationRequest) SetLabels ¶
func (m *UpdateFederationRequest) SetLabels(v map[string]string)
func (*UpdateFederationRequest) SetName ¶
func (m *UpdateFederationRequest) SetName(v string)
func (*UpdateFederationRequest) SetSecuritySettings ¶
func (m *UpdateFederationRequest) SetSecuritySettings(v *FederationSecuritySettings)
func (*UpdateFederationRequest) SetSsoBinding ¶
func (m *UpdateFederationRequest) SetSsoBinding(v BindingType)
func (*UpdateFederationRequest) SetSsoUrl ¶
func (m *UpdateFederationRequest) SetSsoUrl(v string)
func (*UpdateFederationRequest) SetUpdateMask ¶
func (m *UpdateFederationRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateFederationRequest) String ¶
func (x *UpdateFederationRequest) String() string