Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterFederationServiceServer(s grpc.ServiceRegistrar, srv FederationServiceServer)
- 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) GetAudiences() []string
- func (x *CreateFederationRequest) GetDescription() string
- func (x *CreateFederationRequest) GetDisabled() bool
- func (x *CreateFederationRequest) GetFolderId() string
- func (x *CreateFederationRequest) GetIssuer() string
- func (x *CreateFederationRequest) GetJwksUrl() string
- func (x *CreateFederationRequest) GetLabels() map[string]string
- func (x *CreateFederationRequest) GetName() string
- func (*CreateFederationRequest) ProtoMessage()
- func (x *CreateFederationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFederationRequest) Reset()
- func (m *CreateFederationRequest) SetAudiences(v []string)
- func (m *CreateFederationRequest) SetDescription(v string)
- func (m *CreateFederationRequest) SetDisabled(v bool)
- func (m *CreateFederationRequest) SetFolderId(v string)
- func (m *CreateFederationRequest) SetIssuer(v string)
- func (m *CreateFederationRequest) SetJwksUrl(v string)
- func (m *CreateFederationRequest) SetLabels(v map[string]string)
- func (m *CreateFederationRequest) SetName(v string)
- func (x *CreateFederationRequest) 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) GetAudiences() []string
- func (x *Federation) GetCreatedAt() *timestamppb.Timestamp
- func (x *Federation) GetDescription() string
- func (x *Federation) GetEnabled() bool
- func (x *Federation) GetFolderId() string
- func (x *Federation) GetId() string
- func (x *Federation) GetIssuer() string
- func (x *Federation) GetJwksUrl() string
- func (x *Federation) GetLabels() map[string]string
- func (x *Federation) GetName() string
- func (*Federation) ProtoMessage()
- func (x *Federation) ProtoReflect() protoreflect.Message
- func (x *Federation) Reset()
- func (m *Federation) SetAudiences(v []string)
- func (m *Federation) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Federation) SetDescription(v string)
- func (m *Federation) SetEnabled(v bool)
- func (m *Federation) SetFolderId(v string)
- func (m *Federation) SetId(v string)
- func (m *Federation) SetIssuer(v string)
- func (m *Federation) SetJwksUrl(v string)
- func (m *Federation) SetLabels(v map[string]string)
- func (m *Federation) SetName(v string)
- func (x *Federation) String() string
- type FederationServiceClient
- type FederationServiceServer
- 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 ListFederationsRequest
- func (*ListFederationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFederationsRequest) GetFolderId() 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) SetFolderId(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 UnimplementedFederationServiceServer
- func (UnimplementedFederationServiceServer) Create(context.Context, *CreateFederationRequest) (*operation.Operation, error)
- func (UnimplementedFederationServiceServer) Delete(context.Context, *DeleteFederationRequest) (*operation.Operation, error)
- func (UnimplementedFederationServiceServer) Get(context.Context, *GetFederationRequest) (*Federation, error)
- func (UnimplementedFederationServiceServer) List(context.Context, *ListFederationsRequest) (*ListFederationsResponse, error)
- func (UnimplementedFederationServiceServer) Update(context.Context, *UpdateFederationRequest) (*operation.Operation, error)
- type UnsafeFederationServiceServer
- 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) GetAudiences() []string
- func (x *UpdateFederationRequest) GetDescription() string
- func (x *UpdateFederationRequest) GetDisabled() bool
- func (x *UpdateFederationRequest) GetFederationId() string
- func (x *UpdateFederationRequest) GetJwksUrl() string
- func (x *UpdateFederationRequest) GetLabels() map[string]string
- func (x *UpdateFederationRequest) GetName() string
- func (x *UpdateFederationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateFederationRequest) ProtoMessage()
- func (x *UpdateFederationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFederationRequest) Reset()
- func (m *UpdateFederationRequest) SetAudiences(v []string)
- func (m *UpdateFederationRequest) SetDescription(v string)
- func (m *UpdateFederationRequest) SetDisabled(v bool)
- func (m *UpdateFederationRequest) SetFederationId(v string)
- func (m *UpdateFederationRequest) SetJwksUrl(v string)
- func (m *UpdateFederationRequest) SetLabels(v map[string]string)
- func (m *UpdateFederationRequest) SetName(v string)
- func (m *UpdateFederationRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateFederationRequest) String() string
Constants ¶
const ( FederationService_Get_FullMethodName = "/yandex.cloud.iam.v1.workload.oidc.FederationService/Get" FederationService_List_FullMethodName = "/yandex.cloud.iam.v1.workload.oidc.FederationService/List" FederationService_Create_FullMethodName = "/yandex.cloud.iam.v1.workload.oidc.FederationService/Create" FederationService_Update_FullMethodName = "/yandex.cloud.iam.v1.workload.oidc.FederationService/Update" FederationService_Delete_FullMethodName = "/yandex.cloud.iam.v1.workload.oidc.FederationService/Delete" )
Variables ¶
var FederationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.iam.v1.workload.oidc.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, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/iam/v1/workload/oidc/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_iam_v1_workload_oidc_federation_proto protoreflect.FileDescriptor
var File_yandex_cloud_iam_v1_workload_oidc_federation_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFederationServiceServer ¶
func RegisterFederationServiceServer(s grpc.ServiceRegistrar, srv FederationServiceServer)
Types ¶
type CreateFederationMetadata ¶
type CreateFederationMetadata struct { // ID of the OIDC workload identity 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 folder to create an OIDC workload identity federation in. // To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the OIDC workload identity federation. // The name must be unique within the folder. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the OIDC workload identity federation. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // True - the OIDC workload identity federation is disabled and cannot be used for authentication. // False - the OIDC workload identity federation is enabled and can be used for authentication. Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` // List of trusted values for aud claim. Audiences []string `protobuf:"bytes,6,rep,name=audiences,proto3" json:"audiences,omitempty"` // URL of the external IdP server to be used for authentication. Issuer string `protobuf:"bytes,7,opt,name=issuer,proto3" json:"issuer,omitempty"` // URL reference to trusted keys in format of JSON Web Key Set. JwksUrl string `protobuf:"bytes,8,opt,name=jwks_url,json=jwksUrl,proto3" json:"jwks_url,omitempty"` // Resource labels as “ key:value “ pairs Labels map[string]string `` /* 153-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) GetAudiences ¶
func (x *CreateFederationRequest) GetAudiences() []string
func (*CreateFederationRequest) GetDescription ¶
func (x *CreateFederationRequest) GetDescription() string
func (*CreateFederationRequest) GetDisabled ¶
func (x *CreateFederationRequest) GetDisabled() bool
func (*CreateFederationRequest) GetFolderId ¶
func (x *CreateFederationRequest) GetFolderId() string
func (*CreateFederationRequest) GetIssuer ¶
func (x *CreateFederationRequest) GetIssuer() string
func (*CreateFederationRequest) GetJwksUrl ¶
func (x *CreateFederationRequest) GetJwksUrl() string
func (*CreateFederationRequest) GetLabels ¶
func (x *CreateFederationRequest) GetLabels() map[string]string
func (*CreateFederationRequest) GetName ¶
func (x *CreateFederationRequest) GetName() 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) SetAudiences ¶
func (m *CreateFederationRequest) SetAudiences(v []string)
func (*CreateFederationRequest) SetDescription ¶
func (m *CreateFederationRequest) SetDescription(v string)
func (*CreateFederationRequest) SetDisabled ¶
func (m *CreateFederationRequest) SetDisabled(v bool)
func (*CreateFederationRequest) SetFolderId ¶
func (m *CreateFederationRequest) SetFolderId(v string)
func (*CreateFederationRequest) SetIssuer ¶
func (m *CreateFederationRequest) SetIssuer(v string)
func (*CreateFederationRequest) SetJwksUrl ¶
func (m *CreateFederationRequest) SetJwksUrl(v string)
func (*CreateFederationRequest) SetLabels ¶
func (m *CreateFederationRequest) SetLabels(v map[string]string)
func (*CreateFederationRequest) SetName ¶
func (m *CreateFederationRequest) SetName(v string)
func (*CreateFederationRequest) String ¶
func (x *CreateFederationRequest) String() string
type DeleteFederationMetadata ¶
type DeleteFederationMetadata struct { // ID of the OIDC workload identity 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 OIDC workload identity federation to delete. // To get the OIDC workload identity 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 OIDC workload identity federation. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the OIDC workload identity federation // The name is unique within the folder. 3-63 characters long. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // ID of the folder that the OIDC workload identity federation belongs to. FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Description of the service account. 0-256 characters long. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // True - the OIDC workload identity federation is enabled and can be used for authentication. // False - the OIDC workload identity federation is disabled and cannot be used for authentication. Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"` // List of trusted values for aud claim. Audiences []string `protobuf:"bytes,6,rep,name=audiences,proto3" json:"audiences,omitempty"` // URL of the external IdP server to be used for authentication. Issuer string `protobuf:"bytes,7,opt,name=issuer,proto3" json:"issuer,omitempty"` // URL reference to trusted keys in format of JSON Web Key Set. JwksUrl string `protobuf:"bytes,8,opt,name=jwks_url,json=jwksUrl,proto3" json:"jwks_url,omitempty"` // Resource labels as “ key:value “ pairs Labels map[string]string `` /* 153-byte string literal not displayed */ // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
A OIDC workload identity federation.
func (*Federation) Descriptor
deprecated
func (*Federation) Descriptor() ([]byte, []int)
Deprecated: Use Federation.ProtoReflect.Descriptor instead.
func (*Federation) GetAudiences ¶
func (x *Federation) GetAudiences() []string
func (*Federation) GetCreatedAt ¶
func (x *Federation) GetCreatedAt() *timestamppb.Timestamp
func (*Federation) GetDescription ¶
func (x *Federation) GetDescription() string
func (*Federation) GetEnabled ¶
func (x *Federation) GetEnabled() bool
func (*Federation) GetFolderId ¶
func (x *Federation) GetFolderId() string
func (*Federation) GetId ¶
func (x *Federation) GetId() string
func (*Federation) GetIssuer ¶
func (x *Federation) GetIssuer() string
func (*Federation) GetJwksUrl ¶
func (x *Federation) GetJwksUrl() string
func (*Federation) GetLabels ¶
func (x *Federation) GetLabels() map[string]string
func (*Federation) GetName ¶
func (x *Federation) GetName() 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) SetAudiences ¶
func (m *Federation) SetAudiences(v []string)
func (*Federation) SetCreatedAt ¶
func (m *Federation) SetCreatedAt(v *timestamppb.Timestamp)
func (*Federation) SetDescription ¶
func (m *Federation) SetDescription(v string)
func (*Federation) SetEnabled ¶
func (m *Federation) SetEnabled(v bool)
func (*Federation) SetFolderId ¶
func (m *Federation) SetFolderId(v string)
func (*Federation) SetId ¶
func (m *Federation) SetId(v string)
func (*Federation) SetIssuer ¶
func (m *Federation) SetIssuer(v string)
func (*Federation) SetJwksUrl ¶
func (m *Federation) SetJwksUrl(v string)
func (*Federation) SetLabels ¶
func (m *Federation) SetLabels(v map[string]string)
func (*Federation) SetName ¶
func (m *Federation) SetName(v string)
func (*Federation) String ¶
func (x *Federation) String() string
type FederationServiceClient ¶
type FederationServiceClient interface { // Returns the specified OIDC workload identity federation. // // To get the list of available OIDC workload identity federation, make a [List] request. Get(ctx context.Context, in *GetFederationRequest, opts ...grpc.CallOption) (*Federation, error) // Retrieves the list of OIDC workload identity federations in the specified folder. List(ctx context.Context, in *ListFederationsRequest, opts ...grpc.CallOption) (*ListFederationsResponse, error) // Creates an OIDC workload identity federation in the specified folder. Create(ctx context.Context, in *CreateFederationRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified OIDC workload identity federation. Update(ctx context.Context, in *UpdateFederationRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified OIDC workload identity federation. Delete(ctx context.Context, in *DeleteFederationRequest, opts ...grpc.CallOption) (*operation.Operation, 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 OIDC workload identity federations.
func NewFederationServiceClient ¶
func NewFederationServiceClient(cc grpc.ClientConnInterface) FederationServiceClient
type FederationServiceServer ¶
type FederationServiceServer interface { // Returns the specified OIDC workload identity federation. // // To get the list of available OIDC workload identity federation, make a [List] request. Get(context.Context, *GetFederationRequest) (*Federation, error) // Retrieves the list of OIDC workload identity federations in the specified folder. List(context.Context, *ListFederationsRequest) (*ListFederationsResponse, error) // Creates an OIDC workload identity federation in the specified folder. Create(context.Context, *CreateFederationRequest) (*operation.Operation, error) // Updates the specified OIDC workload identity federation. Update(context.Context, *UpdateFederationRequest) (*operation.Operation, error) // Deletes the specified OIDC workload identity federation. Delete(context.Context, *DeleteFederationRequest) (*operation.Operation, error) }
FederationServiceServer is the server API for FederationService service. All implementations should embed UnimplementedFederationServiceServer for forward compatibility.
A set of methods for managing OIDC workload identity federations.
type GetFederationRequest ¶
type GetFederationRequest struct { // ID of the OIDC workload identity federation to return. // To get the OIDC workload identity 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 ListFederationsRequest ¶
type ListFederationsRequest struct { // ID of the folder to list OIDC workload identity federations in. // To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_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,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 [ListFederationsResponse.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 (*ListFederationsRequest) Descriptor
deprecated
func (*ListFederationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFederationsRequest.ProtoReflect.Descriptor instead.
func (*ListFederationsRequest) GetFolderId ¶
func (x *ListFederationsRequest) GetFolderId() 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) SetFolderId ¶
func (m *ListFederationsRequest) SetFolderId(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 OIDC workload identity 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 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) Create ¶
func (UnimplementedFederationServiceServer) Create(context.Context, *CreateFederationRequest) (*operation.Operation, error)
func (UnimplementedFederationServiceServer) Delete ¶
func (UnimplementedFederationServiceServer) Delete(context.Context, *DeleteFederationRequest) (*operation.Operation, error)
func (UnimplementedFederationServiceServer) Get ¶
func (UnimplementedFederationServiceServer) Get(context.Context, *GetFederationRequest) (*Federation, error)
func (UnimplementedFederationServiceServer) Update ¶
func (UnimplementedFederationServiceServer) Update(context.Context, *UpdateFederationRequest) (*operation.Operation, error)
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 UpdateFederationMetadata ¶
type UpdateFederationMetadata struct { // ID of the OIDC workload identity 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 OIDC workload identity federation to update. // To get the OIDC workload identity 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 OIDC workload identity 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 OIDC workload identity federation. // The name must be unique within the folder. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the OIDC workload identity federation. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // True - the OIDC workload identity federation is disabled and cannot be used for authentication. // False - the OIDC workload identity federation is enabled and can be used for authentication. Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` // List of trusted values for aud claim. Audiences []string `protobuf:"bytes,6,rep,name=audiences,proto3" json:"audiences,omitempty"` // URL reference to trusted keys in format of JSON Web Key Set. JwksUrl string `protobuf:"bytes,7,opt,name=jwks_url,json=jwksUrl,proto3" json:"jwks_url,omitempty"` // Resource labels as “ key:value “ pairs Labels map[string]string `` /* 153-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) GetAudiences ¶
func (x *UpdateFederationRequest) GetAudiences() []string
func (*UpdateFederationRequest) GetDescription ¶
func (x *UpdateFederationRequest) GetDescription() string
func (*UpdateFederationRequest) GetDisabled ¶
func (x *UpdateFederationRequest) GetDisabled() bool
func (*UpdateFederationRequest) GetFederationId ¶
func (x *UpdateFederationRequest) GetFederationId() string
func (*UpdateFederationRequest) GetJwksUrl ¶
func (x *UpdateFederationRequest) GetJwksUrl() string
func (*UpdateFederationRequest) GetLabels ¶
func (x *UpdateFederationRequest) GetLabels() map[string]string
func (*UpdateFederationRequest) GetName ¶
func (x *UpdateFederationRequest) GetName() 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) SetAudiences ¶
func (m *UpdateFederationRequest) SetAudiences(v []string)
func (*UpdateFederationRequest) SetDescription ¶
func (m *UpdateFederationRequest) SetDescription(v string)
func (*UpdateFederationRequest) SetDisabled ¶
func (m *UpdateFederationRequest) SetDisabled(v bool)
func (*UpdateFederationRequest) SetFederationId ¶
func (m *UpdateFederationRequest) SetFederationId(v string)
func (*UpdateFederationRequest) SetJwksUrl ¶
func (m *UpdateFederationRequest) SetJwksUrl(v string)
func (*UpdateFederationRequest) SetLabels ¶
func (m *UpdateFederationRequest) SetLabels(v map[string]string)
func (*UpdateFederationRequest) SetName ¶
func (m *UpdateFederationRequest) SetName(v string)
func (*UpdateFederationRequest) SetUpdateMask ¶
func (m *UpdateFederationRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateFederationRequest) String ¶
func (x *UpdateFederationRequest) String() string