certificatemanager

package
v0.0.0-...-e71211d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 15 Imported by: 11

Documentation

Index

Constants

View Source
const (
	CertificateService_Get_FullMethodName                  = "/yandex.cloud.certificatemanager.v1.CertificateService/Get"
	CertificateService_List_FullMethodName                 = "/yandex.cloud.certificatemanager.v1.CertificateService/List"
	CertificateService_ListVersions_FullMethodName         = "/yandex.cloud.certificatemanager.v1.CertificateService/ListVersions"
	CertificateService_Create_FullMethodName               = "/yandex.cloud.certificatemanager.v1.CertificateService/Create"
	CertificateService_Update_FullMethodName               = "/yandex.cloud.certificatemanager.v1.CertificateService/Update"
	CertificateService_Delete_FullMethodName               = "/yandex.cloud.certificatemanager.v1.CertificateService/Delete"
	CertificateService_RequestNew_FullMethodName           = "/yandex.cloud.certificatemanager.v1.CertificateService/RequestNew"
	CertificateService_ListOperations_FullMethodName       = "/yandex.cloud.certificatemanager.v1.CertificateService/ListOperations"
	CertificateService_ListAccessBindings_FullMethodName   = "/yandex.cloud.certificatemanager.v1.CertificateService/ListAccessBindings"
	CertificateService_SetAccessBindings_FullMethodName    = "/yandex.cloud.certificatemanager.v1.CertificateService/SetAccessBindings"
	CertificateService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.certificatemanager.v1.CertificateService/UpdateAccessBindings"
)
View Source
const (
	CertificateContentService_Get_FullMethodName = "/yandex.cloud.certificatemanager.v1.CertificateContentService/Get"
)

Variables

View Source
var (
	CertificateType_name = map[int32]string{
		0: "CERTIFICATE_TYPE_UNSPECIFIED",
		1: "IMPORTED",
		2: "MANAGED",
	}
	CertificateType_value = map[string]int32{
		"CERTIFICATE_TYPE_UNSPECIFIED": 0,
		"IMPORTED":                     1,
		"MANAGED":                      2,
	}
)

Enum value maps for CertificateType.

View Source
var (
	ChallengeType_name = map[int32]string{
		0: "CHALLENGE_TYPE_UNSPECIFIED",
		1: "DNS",
		2: "HTTP",
	}
	ChallengeType_value = map[string]int32{
		"CHALLENGE_TYPE_UNSPECIFIED": 0,
		"DNS":                        1,
		"HTTP":                       2,
	}
)

Enum value maps for ChallengeType.

View Source
var (
	Certificate_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "VALIDATING",
		2: "INVALID",
		3: "ISSUED",
		4: "REVOKED",
		5: "RENEWING",
		6: "RENEWAL_FAILED",
	}
	Certificate_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"VALIDATING":         1,
		"INVALID":            2,
		"ISSUED":             3,
		"REVOKED":            4,
		"RENEWING":           5,
		"RENEWAL_FAILED":     6,
	}
)

Enum value maps for Certificate_Status.

View Source
var (
	Challenge_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "PROCESSING",
		3: "VALID",
		4: "INVALID",
	}
	Challenge_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PENDING":            1,
		"PROCESSING":         2,
		"VALID":              3,
		"INVALID":            4,
	}
)

Enum value maps for Challenge_Status.

View Source
var (
	PrivateKeyFormat_name = map[int32]string{
		0: "PRIVATE_KEY_FORMAT_UNSPECIFIED",
		1: "PKCS1",
		2: "PKCS8",
	}
	PrivateKeyFormat_value = map[string]int32{
		"PRIVATE_KEY_FORMAT_UNSPECIFIED": 0,
		"PKCS1":                          1,
		"PKCS8":                          2,
	}
)

Enum value maps for PrivateKeyFormat.

View Source
var (
	CertificateView_name = map[int32]string{
		0: "BASIC",
		1: "FULL",
	}
	CertificateView_value = map[string]int32{
		"BASIC": 0,
		"FULL":  1,
	}
)

Enum value maps for CertificateView.

View Source
var CertificateContentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.certificatemanager.v1.CertificateContentService",
	HandlerType: (*CertificateContentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _CertificateContentService_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/certificatemanager/v1/certificate_content_service.proto",
}

CertificateContentService_ServiceDesc is the grpc.ServiceDesc for CertificateContentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CertificateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.certificatemanager.v1.CertificateService",
	HandlerType: (*CertificateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _CertificateService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _CertificateService_List_Handler,
		},
		{
			MethodName: "ListVersions",
			Handler:    _CertificateService_ListVersions_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _CertificateService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _CertificateService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _CertificateService_Delete_Handler,
		},
		{
			MethodName: "RequestNew",
			Handler:    _CertificateService_RequestNew_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _CertificateService_ListOperations_Handler,
		},
		{
			MethodName: "ListAccessBindings",
			Handler:    _CertificateService_ListAccessBindings_Handler,
		},
		{
			MethodName: "SetAccessBindings",
			Handler:    _CertificateService_SetAccessBindings_Handler,
		},
		{
			MethodName: "UpdateAccessBindings",
			Handler:    _CertificateService_UpdateAccessBindings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/certificatemanager/v1/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)

View Source
var File_yandex_cloud_certificatemanager_v1_certificate_content_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_certificatemanager_v1_certificate_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_certificatemanager_v1_certificate_service_proto protoreflect.FileDescriptor

Functions

func RegisterCertificateContentServiceServer

func RegisterCertificateContentServiceServer(s grpc.ServiceRegistrar, srv CertificateContentServiceServer)

func RegisterCertificateServiceServer

func RegisterCertificateServiceServer(s grpc.ServiceRegistrar, srv CertificateServiceServer)

Types

type Certificate

type Certificate struct {

	// ID of the certificate. Generated at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the certificate belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the certificate.
	// The name is unique within the folder.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the certificate.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Certificate labels as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Type of the certificate.
	Type CertificateType `protobuf:"varint,7,opt,name=type,proto3,enum=yandex.cloud.certificatemanager.v1.CertificateType" json:"type,omitempty"`
	// Fully qualified domain names of the certificate.
	Domains []string `protobuf:"bytes,8,rep,name=domains,proto3" json:"domains,omitempty"`
	// Status of the certificate.
	Status Certificate_Status `protobuf:"varint,9,opt,name=status,proto3,enum=yandex.cloud.certificatemanager.v1.Certificate_Status" json:"status,omitempty"`
	// [Distinguished Name](https://tools.ietf.org/html/rfc1779) of the certificate authority that issued the certificate.
	Issuer string `protobuf:"bytes,10,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// [Distinguished Name](https://tools.ietf.org/html/rfc1779) of the entity that is associated with the public key contained in the certificate.
	Subject string `protobuf:"bytes,11,opt,name=subject,proto3" json:"subject,omitempty"`
	// Serial number of the certificate.
	Serial string `protobuf:"bytes,12,opt,name=serial,proto3" json:"serial,omitempty"`
	// Time when the certificate is updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Time when the certificate is issued.
	IssuedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// Time after which the certificate is not valid.
	NotAfter *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
	// Time before which the certificate is not valid.
	NotBefore *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"`
	// Domains validation challenges of the certificate. Used only for managed certificates.
	Challenges []*Challenge `protobuf:"bytes,17,rep,name=challenges,proto3" json:"challenges,omitempty"`
	// Flag that protects deletion of the certificate
	DeletionProtection bool `protobuf:"varint,18,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Mark imported certificates without uploaded chain or with chain which not lead to root certificate
	IncompleteChain bool `protobuf:"varint,19,opt,name=incomplete_chain,json=incompleteChain,proto3" json:"incomplete_chain,omitempty"`
	// contains filtered or unexported fields
}

A certificate. For details about the concept, see [documentation](/docs/certificate-manager/concepts/).

func (*Certificate) Descriptor deprecated

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

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetChallenges

func (x *Certificate) GetChallenges() []*Challenge

func (*Certificate) GetCreatedAt

func (x *Certificate) GetCreatedAt() *timestamppb.Timestamp

func (*Certificate) GetDeletionProtection

func (x *Certificate) GetDeletionProtection() bool

func (*Certificate) GetDescription

func (x *Certificate) GetDescription() string

func (*Certificate) GetDomains

func (x *Certificate) GetDomains() []string

func (*Certificate) GetFolderId

func (x *Certificate) GetFolderId() string

func (*Certificate) GetId

func (x *Certificate) GetId() string

func (*Certificate) GetIncompleteChain

func (x *Certificate) GetIncompleteChain() bool

func (*Certificate) GetIssuedAt

func (x *Certificate) GetIssuedAt() *timestamppb.Timestamp

func (*Certificate) GetIssuer

func (x *Certificate) GetIssuer() string

func (*Certificate) GetLabels

func (x *Certificate) GetLabels() map[string]string

func (*Certificate) GetName

func (x *Certificate) GetName() string

func (*Certificate) GetNotAfter

func (x *Certificate) GetNotAfter() *timestamppb.Timestamp

func (*Certificate) GetNotBefore

func (x *Certificate) GetNotBefore() *timestamppb.Timestamp

func (*Certificate) GetSerial

func (x *Certificate) GetSerial() string

func (*Certificate) GetStatus

func (x *Certificate) GetStatus() Certificate_Status

func (*Certificate) GetSubject

func (x *Certificate) GetSubject() string

func (*Certificate) GetType

func (x *Certificate) GetType() CertificateType

func (*Certificate) GetUpdatedAt

func (x *Certificate) GetUpdatedAt() *timestamppb.Timestamp

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect

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

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) SetChallenges

func (m *Certificate) SetChallenges(v []*Challenge)

func (*Certificate) SetCreatedAt

func (m *Certificate) SetCreatedAt(v *timestamppb.Timestamp)

func (*Certificate) SetDeletionProtection

func (m *Certificate) SetDeletionProtection(v bool)

func (*Certificate) SetDescription

func (m *Certificate) SetDescription(v string)

func (*Certificate) SetDomains

func (m *Certificate) SetDomains(v []string)

func (*Certificate) SetFolderId

func (m *Certificate) SetFolderId(v string)

func (*Certificate) SetId

func (m *Certificate) SetId(v string)

func (*Certificate) SetIncompleteChain

func (m *Certificate) SetIncompleteChain(v bool)

func (*Certificate) SetIssuedAt

func (m *Certificate) SetIssuedAt(v *timestamppb.Timestamp)

func (*Certificate) SetIssuer

func (m *Certificate) SetIssuer(v string)

func (*Certificate) SetLabels

func (m *Certificate) SetLabels(v map[string]string)

func (*Certificate) SetName

func (m *Certificate) SetName(v string)

func (*Certificate) SetNotAfter

func (m *Certificate) SetNotAfter(v *timestamppb.Timestamp)

func (*Certificate) SetNotBefore

func (m *Certificate) SetNotBefore(v *timestamppb.Timestamp)

func (*Certificate) SetSerial

func (m *Certificate) SetSerial(v string)

func (*Certificate) SetStatus

func (m *Certificate) SetStatus(v Certificate_Status)

func (*Certificate) SetSubject

func (m *Certificate) SetSubject(v string)

func (*Certificate) SetType

func (m *Certificate) SetType(v CertificateType)

func (*Certificate) SetUpdatedAt

func (m *Certificate) SetUpdatedAt(v *timestamppb.Timestamp)

func (*Certificate) String

func (x *Certificate) String() string

type CertificateContentServiceClient

type CertificateContentServiceClient interface {
	// Returns chain and private key of the specified certificate.
	Get(ctx context.Context, in *GetCertificateContentRequest, opts ...grpc.CallOption) (*GetCertificateContentResponse, error)
}

CertificateContentServiceClient is the client API for CertificateContentService 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 certificate content.

type CertificateContentServiceServer

type CertificateContentServiceServer interface {
	// Returns chain and private key of the specified certificate.
	Get(context.Context, *GetCertificateContentRequest) (*GetCertificateContentResponse, error)
}

CertificateContentServiceServer is the server API for CertificateContentService service. All implementations should embed UnimplementedCertificateContentServiceServer for forward compatibility.

A set of methods for managing certificate content.

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)
	// Returns the list of certificates in the specified folder.
	List(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error)
	ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
	// Creates a certificate in the specified folder.
	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)
	// Request a certificate in the specified folder.
	RequestNew(ctx context.Context, in *RequestNewCertificateRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Lists operations for the specified certificate.
	ListOperations(ctx context.Context, in *ListCertificateOperationsRequest, opts ...grpc.CallOption) (*ListCertificateOperationsResponse, error)
	// Lists existing access bindings for the specified certificate.
	ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error)
	// Sets access bindings for the certificate.
	SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates access bindings for the specified certificate.
	UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, 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.

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)
	// Returns the list of certificates in the specified folder.
	List(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error)
	ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
	// Creates a certificate in the specified folder.
	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)
	// Request a certificate in the specified folder.
	RequestNew(context.Context, *RequestNewCertificateRequest) (*operation.Operation, error)
	// Lists operations for the specified certificate.
	ListOperations(context.Context, *ListCertificateOperationsRequest) (*ListCertificateOperationsResponse, error)
	// Lists existing access bindings for the specified certificate.
	ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
	// Sets access bindings for the certificate.
	SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
	// Updates access bindings for the specified certificate.
	UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, 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 CertificateType

type CertificateType int32

Supported certificate types.

const (
	CertificateType_CERTIFICATE_TYPE_UNSPECIFIED CertificateType = 0
	// The certificate is imported by user.
	CertificateType_IMPORTED CertificateType = 1
	// The certificate is created by service.
	CertificateType_MANAGED CertificateType = 2
)

func (CertificateType) Descriptor

func (CertificateType) Enum

func (x CertificateType) Enum() *CertificateType

func (CertificateType) EnumDescriptor deprecated

func (CertificateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CertificateType.Descriptor instead.

func (CertificateType) Number

func (CertificateType) String

func (x CertificateType) String() string

func (CertificateType) Type

type CertificateView

type CertificateView int32
const (
	// Output basic information about the certificate.
	CertificateView_BASIC CertificateView = 0
	// Output full information about the certificate including domain challenges.
	CertificateView_FULL CertificateView = 1
)

func (CertificateView) Descriptor

func (CertificateView) Enum

func (x CertificateView) Enum() *CertificateView

func (CertificateView) EnumDescriptor deprecated

func (CertificateView) EnumDescriptor() ([]byte, []int)

Deprecated: Use CertificateView.Descriptor instead.

func (CertificateView) Number

func (CertificateView) String

func (x CertificateView) String() string

func (CertificateView) Type

type Certificate_Status

type Certificate_Status int32
const (
	Certificate_STATUS_UNSPECIFIED Certificate_Status = 0
	// The certificate domains validation are required. Used only for managed certificates.
	Certificate_VALIDATING Certificate_Status = 1
	// The certificate issuance is failed. Used only for managed certificates.
	Certificate_INVALID Certificate_Status = 2
	// The certificate is issued.
	Certificate_ISSUED Certificate_Status = 3
	// The certificate is revoked.
	Certificate_REVOKED Certificate_Status = 4
	// The certificate renewal is started. Used only for managed certificates.
	Certificate_RENEWING Certificate_Status = 5
	// The certificate renewal is failed. Used only for managed certificates.
	Certificate_RENEWAL_FAILED Certificate_Status = 6
)

func (Certificate_Status) Descriptor

func (Certificate_Status) Enum

func (Certificate_Status) EnumDescriptor deprecated

func (Certificate_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Certificate_Status.Descriptor instead.

func (Certificate_Status) Number

func (Certificate_Status) String

func (x Certificate_Status) String() string

func (Certificate_Status) Type

type Challenge

type Challenge struct {

	// Domain of the challenge.
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// Type of the challenge.
	Type ChallengeType `protobuf:"varint,2,opt,name=type,proto3,enum=yandex.cloud.certificatemanager.v1.ChallengeType" json:"type,omitempty"`
	// Time when the challenge is created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Time when the challenge is updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Status of the challenge.
	Status Challenge_Status `protobuf:"varint,5,opt,name=status,proto3,enum=yandex.cloud.certificatemanager.v1.Challenge_Status" json:"status,omitempty"`
	// Description of the challenge.
	Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// Error of the challenge.
	Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	// Data of the challenge.
	//
	// Types that are assignable to Challenge:
	//
	//	*Challenge_DnsChallenge
	//	*Challenge_HttpChallenge
	Challenge isChallenge_Challenge `protobuf_oneof:"challenge"`
	// contains filtered or unexported fields
}

Domain validation challenge.

func (*Challenge) Descriptor deprecated

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

Deprecated: Use Challenge.ProtoReflect.Descriptor instead.

func (*Challenge) GetChallenge

func (m *Challenge) GetChallenge() isChallenge_Challenge

func (*Challenge) GetCreatedAt

func (x *Challenge) GetCreatedAt() *timestamppb.Timestamp

func (*Challenge) GetDnsChallenge

func (x *Challenge) GetDnsChallenge() *Challenge_DnsRecord

func (*Challenge) GetDomain

func (x *Challenge) GetDomain() string

func (*Challenge) GetError

func (x *Challenge) GetError() string

func (*Challenge) GetHttpChallenge

func (x *Challenge) GetHttpChallenge() *Challenge_HttpFile

func (*Challenge) GetMessage

func (x *Challenge) GetMessage() string

func (*Challenge) GetStatus

func (x *Challenge) GetStatus() Challenge_Status

func (*Challenge) GetType

func (x *Challenge) GetType() ChallengeType

func (*Challenge) GetUpdatedAt

func (x *Challenge) GetUpdatedAt() *timestamppb.Timestamp

func (*Challenge) ProtoMessage

func (*Challenge) ProtoMessage()

func (*Challenge) ProtoReflect

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

func (*Challenge) Reset

func (x *Challenge) Reset()

func (*Challenge) SetChallenge

func (m *Challenge) SetChallenge(v Challenge_Challenge)

func (*Challenge) SetCreatedAt

func (m *Challenge) SetCreatedAt(v *timestamppb.Timestamp)

func (*Challenge) SetDnsChallenge

func (m *Challenge) SetDnsChallenge(v *Challenge_DnsRecord)

func (*Challenge) SetDomain

func (m *Challenge) SetDomain(v string)

func (*Challenge) SetError

func (m *Challenge) SetError(v string)

func (*Challenge) SetHttpChallenge

func (m *Challenge) SetHttpChallenge(v *Challenge_HttpFile)

func (*Challenge) SetMessage

func (m *Challenge) SetMessage(v string)

func (*Challenge) SetStatus

func (m *Challenge) SetStatus(v Challenge_Status)

func (*Challenge) SetType

func (m *Challenge) SetType(v ChallengeType)

func (*Challenge) SetUpdatedAt

func (m *Challenge) SetUpdatedAt(v *timestamppb.Timestamp)

func (*Challenge) String

func (x *Challenge) String() string

type ChallengeType

type ChallengeType int32

Supported domain validation types.

const (
	ChallengeType_CHALLENGE_TYPE_UNSPECIFIED ChallengeType = 0
	// Domain validation type that using DNS-records.
	ChallengeType_DNS ChallengeType = 1
	// Domain validation type that using HTTP-files.
	ChallengeType_HTTP ChallengeType = 2
)

func (ChallengeType) Descriptor

func (ChallengeType) Enum

func (x ChallengeType) Enum() *ChallengeType

func (ChallengeType) EnumDescriptor deprecated

func (ChallengeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChallengeType.Descriptor instead.

func (ChallengeType) Number

func (ChallengeType) String

func (x ChallengeType) String() string

func (ChallengeType) Type

type Challenge_Challenge

type Challenge_Challenge = isChallenge_Challenge

type Challenge_DnsChallenge

type Challenge_DnsChallenge struct {
	// DNS-record.
	DnsChallenge *Challenge_DnsRecord `protobuf:"bytes,8,opt,name=dns_challenge,json=dnsChallenge,proto3,oneof"`
}

type Challenge_DnsRecord

type Challenge_DnsRecord struct {

	// Name of the DNS record.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Type of the DNS-record.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Value of the DNS-record.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Challenge_DnsRecord) Descriptor deprecated

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

Deprecated: Use Challenge_DnsRecord.ProtoReflect.Descriptor instead.

func (*Challenge_DnsRecord) GetName

func (x *Challenge_DnsRecord) GetName() string

func (*Challenge_DnsRecord) GetType

func (x *Challenge_DnsRecord) GetType() string

func (*Challenge_DnsRecord) GetValue

func (x *Challenge_DnsRecord) GetValue() string

func (*Challenge_DnsRecord) ProtoMessage

func (*Challenge_DnsRecord) ProtoMessage()

func (*Challenge_DnsRecord) ProtoReflect

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

func (*Challenge_DnsRecord) Reset

func (x *Challenge_DnsRecord) Reset()

func (*Challenge_DnsRecord) SetName

func (m *Challenge_DnsRecord) SetName(v string)

func (*Challenge_DnsRecord) SetType

func (m *Challenge_DnsRecord) SetType(v string)

func (*Challenge_DnsRecord) SetValue

func (m *Challenge_DnsRecord) SetValue(v string)

func (*Challenge_DnsRecord) String

func (x *Challenge_DnsRecord) String() string

type Challenge_HttpChallenge

type Challenge_HttpChallenge struct {
	// HTTP-file.
	HttpChallenge *Challenge_HttpFile `protobuf:"bytes,9,opt,name=http_challenge,json=httpChallenge,proto3,oneof"`
}

type Challenge_HttpFile

type Challenge_HttpFile struct {

	// Location of the HTTP file.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Content of the HTTP file.
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*Challenge_HttpFile) Descriptor deprecated

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

Deprecated: Use Challenge_HttpFile.ProtoReflect.Descriptor instead.

func (*Challenge_HttpFile) GetContent

func (x *Challenge_HttpFile) GetContent() string

func (*Challenge_HttpFile) GetUrl

func (x *Challenge_HttpFile) GetUrl() string

func (*Challenge_HttpFile) ProtoMessage

func (*Challenge_HttpFile) ProtoMessage()

func (*Challenge_HttpFile) ProtoReflect

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

func (*Challenge_HttpFile) Reset

func (x *Challenge_HttpFile) Reset()

func (*Challenge_HttpFile) SetContent

func (m *Challenge_HttpFile) SetContent(v string)

func (*Challenge_HttpFile) SetUrl

func (m *Challenge_HttpFile) SetUrl(v string)

func (*Challenge_HttpFile) String

func (x *Challenge_HttpFile) String() string

type Challenge_Status

type Challenge_Status int32
const (
	Challenge_STATUS_UNSPECIFIED Challenge_Status = 0
	// The challenge is waiting to be completed.
	Challenge_PENDING Challenge_Status = 1
	// The challenge is awaiting approval from Let's Encrypt.
	Challenge_PROCESSING Challenge_Status = 2
	// The challenge is complete.
	Challenge_VALID Challenge_Status = 3
	// The rights check for a specific domain failed or the one-week period allocated for the check expired.
	Challenge_INVALID Challenge_Status = 4
)

func (Challenge_Status) Descriptor

func (Challenge_Status) Enum

func (Challenge_Status) EnumDescriptor deprecated

func (Challenge_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Challenge_Status.Descriptor instead.

func (Challenge_Status) Number

func (Challenge_Status) String

func (x Challenge_Status) String() string

func (Challenge_Status) Type

type CreateCertificateMetadata

type CreateCertificateMetadata struct {

	// ID of the certificate 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 (*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 folder to create a certificate in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the certificate.
	// The name must be unique within the folder.
	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"`
	// Labels for the certificate as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// PEM-encoded certificate content of the certificate.
	Certificate string `protobuf:"bytes,5,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// PEM-encoded certificate chain content of the certificate.
	Chain string `protobuf:"bytes,6,opt,name=chain,proto3" json:"chain,omitempty"`
	// PEM-encoded private key content of the certificate.
	PrivateKey string `protobuf:"bytes,7,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// Flag that protects deletion of the certificate
	DeletionProtection bool `protobuf:"varint,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCertificateRequest) Descriptor deprecated

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

Deprecated: Use CreateCertificateRequest.ProtoReflect.Descriptor instead.

func (*CreateCertificateRequest) GetCertificate

func (x *CreateCertificateRequest) GetCertificate() string

func (*CreateCertificateRequest) GetChain

func (x *CreateCertificateRequest) GetChain() string

func (*CreateCertificateRequest) GetDeletionProtection

func (x *CreateCertificateRequest) GetDeletionProtection() bool

func (*CreateCertificateRequest) GetDescription

func (x *CreateCertificateRequest) GetDescription() string

func (*CreateCertificateRequest) GetFolderId

func (x *CreateCertificateRequest) GetFolderId() string

func (*CreateCertificateRequest) GetLabels

func (x *CreateCertificateRequest) GetLabels() map[string]string

func (*CreateCertificateRequest) GetName

func (x *CreateCertificateRequest) GetName() string

func (*CreateCertificateRequest) GetPrivateKey

func (x *CreateCertificateRequest) GetPrivateKey() 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) SetCertificate

func (m *CreateCertificateRequest) SetCertificate(v string)

func (*CreateCertificateRequest) SetChain

func (m *CreateCertificateRequest) SetChain(v string)

func (*CreateCertificateRequest) SetDeletionProtection

func (m *CreateCertificateRequest) SetDeletionProtection(v bool)

func (*CreateCertificateRequest) SetDescription

func (m *CreateCertificateRequest) SetDescription(v string)

func (*CreateCertificateRequest) SetFolderId

func (m *CreateCertificateRequest) SetFolderId(v string)

func (*CreateCertificateRequest) SetLabels

func (m *CreateCertificateRequest) SetLabels(v map[string]string)

func (*CreateCertificateRequest) SetName

func (m *CreateCertificateRequest) SetName(v string)

func (*CreateCertificateRequest) SetPrivateKey

func (m *CreateCertificateRequest) SetPrivateKey(v string)

func (*CreateCertificateRequest) String

func (x *CreateCertificateRequest) String() string

type DeleteCertificateMetadata

type DeleteCertificateMetadata struct {

	// ID of the certificate 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 (*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 be deleted.
	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 GetCertificateContentRequest

type GetCertificateContentRequest struct {

	// ID of the certificate to download content.
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// Optional ID of the version.
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// Desired format of private key
	PrivateKeyFormat PrivateKeyFormat `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCertificateContentRequest) Descriptor deprecated

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

Deprecated: Use GetCertificateContentRequest.ProtoReflect.Descriptor instead.

func (*GetCertificateContentRequest) GetCertificateId

func (x *GetCertificateContentRequest) GetCertificateId() string

func (*GetCertificateContentRequest) GetPrivateKeyFormat

func (x *GetCertificateContentRequest) GetPrivateKeyFormat() PrivateKeyFormat

func (*GetCertificateContentRequest) GetVersionId

func (x *GetCertificateContentRequest) GetVersionId() string

func (*GetCertificateContentRequest) ProtoMessage

func (*GetCertificateContentRequest) ProtoMessage()

func (*GetCertificateContentRequest) ProtoReflect

func (*GetCertificateContentRequest) Reset

func (x *GetCertificateContentRequest) Reset()

func (*GetCertificateContentRequest) SetCertificateId

func (m *GetCertificateContentRequest) SetCertificateId(v string)

func (*GetCertificateContentRequest) SetPrivateKeyFormat

func (m *GetCertificateContentRequest) SetPrivateKeyFormat(v PrivateKeyFormat)

func (*GetCertificateContentRequest) SetVersionId

func (m *GetCertificateContentRequest) SetVersionId(v string)

func (*GetCertificateContentRequest) String

type GetCertificateContentResponse

type GetCertificateContentResponse struct {

	// ID of the certificate.
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// PEM-encoded certificate chain content of the certificate.
	CertificateChain []string `protobuf:"bytes,3,rep,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
	// PEM-encoded private key content of the certificate.
	PrivateKey string `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCertificateContentResponse) Descriptor deprecated

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

Deprecated: Use GetCertificateContentResponse.ProtoReflect.Descriptor instead.

func (*GetCertificateContentResponse) GetCertificateChain

func (x *GetCertificateContentResponse) GetCertificateChain() []string

func (*GetCertificateContentResponse) GetCertificateId

func (x *GetCertificateContentResponse) GetCertificateId() string

func (*GetCertificateContentResponse) GetPrivateKey

func (x *GetCertificateContentResponse) GetPrivateKey() string

func (*GetCertificateContentResponse) ProtoMessage

func (*GetCertificateContentResponse) ProtoMessage()

func (*GetCertificateContentResponse) ProtoReflect

func (*GetCertificateContentResponse) Reset

func (x *GetCertificateContentResponse) Reset()

func (*GetCertificateContentResponse) SetCertificateChain

func (m *GetCertificateContentResponse) SetCertificateChain(v []string)

func (*GetCertificateContentResponse) SetCertificateId

func (m *GetCertificateContentResponse) SetCertificateId(v string)

func (*GetCertificateContentResponse) SetPrivateKey

func (m *GetCertificateContentResponse) SetPrivateKey(v string)

func (*GetCertificateContentResponse) String

type GetCertificateRequest

type GetCertificateRequest struct {

	// ID of the certificate to return.
	//
	// To get the ID of a certificate use a [CertificateService.List] request.
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// The output type of the certificate.
	View CertificateView `protobuf:"varint,2,opt,name=view,proto3,enum=yandex.cloud.certificatemanager.v1.CertificateView" json:"view,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) GetView

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) SetView

func (m *GetCertificateRequest) SetView(v CertificateView)

func (*GetCertificateRequest) String

func (x *GetCertificateRequest) String() string

type ListCertificateOperationsRequest

type ListCertificateOperationsRequest struct {

	// ID of the certificate to list operations for.
	//
	// To get the certificate ID, use a [CertificateService.List] request.
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// The maximum number of results per page that should be returned. 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 (*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

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 (*ListCertificateOperationsResponse) ProtoMessage

func (*ListCertificateOperationsResponse) ProtoMessage()

func (*ListCertificateOperationsResponse) ProtoReflect

func (*ListCertificateOperationsResponse) Reset

func (*ListCertificateOperationsResponse) SetNextPageToken

func (m *ListCertificateOperationsResponse) SetNextPageToken(v string)

func (*ListCertificateOperationsResponse) SetOperations

func (m *ListCertificateOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListCertificateOperationsResponse) String

type ListCertificatesRequest

type ListCertificatesRequest struct {

	// ID of the folder to list certificate in.
	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 [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"`
	// The output type of the certificate.
	View CertificateView `protobuf:"varint,6,opt,name=view,proto3,enum=yandex.cloud.certificatemanager.v1.CertificateView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificatesRequest) Descriptor deprecated

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

Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead.

func (*ListCertificatesRequest) GetFolderId

func (x *ListCertificatesRequest) GetFolderId() string

func (*ListCertificatesRequest) GetPageSize

func (x *ListCertificatesRequest) GetPageSize() int64

func (*ListCertificatesRequest) GetPageToken

func (x *ListCertificatesRequest) GetPageToken() string

func (*ListCertificatesRequest) GetView

func (*ListCertificatesRequest) ProtoMessage

func (*ListCertificatesRequest) ProtoMessage()

func (*ListCertificatesRequest) ProtoReflect

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

func (*ListCertificatesRequest) Reset

func (x *ListCertificatesRequest) Reset()

func (*ListCertificatesRequest) SetFolderId

func (m *ListCertificatesRequest) SetFolderId(v string)

func (*ListCertificatesRequest) SetPageSize

func (m *ListCertificatesRequest) SetPageSize(v int64)

func (*ListCertificatesRequest) SetPageToken

func (m *ListCertificatesRequest) SetPageToken(v string)

func (*ListCertificatesRequest) SetView

func (*ListCertificatesRequest) String

func (x *ListCertificatesRequest) String() string

type ListCertificatesResponse

type ListCertificatesResponse struct {

	// List of certificates in the specified folder.
	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 greater than the specified [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 ListVersionsRequest

type ListVersionsRequest struct {

	// ID of the certificate to list versions for.
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,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.
	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"`
	// contains filtered or unexported fields
}

func (*ListVersionsRequest) Descriptor deprecated

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

Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListVersionsRequest) GetCertificateId

func (x *ListVersionsRequest) GetCertificateId() string

func (*ListVersionsRequest) GetPageSize

func (x *ListVersionsRequest) GetPageSize() int64

func (*ListVersionsRequest) GetPageToken

func (x *ListVersionsRequest) GetPageToken() string

func (*ListVersionsRequest) ProtoMessage

func (*ListVersionsRequest) ProtoMessage()

func (*ListVersionsRequest) ProtoReflect

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

func (*ListVersionsRequest) Reset

func (x *ListVersionsRequest) Reset()

func (*ListVersionsRequest) SetCertificateId

func (m *ListVersionsRequest) SetCertificateId(v string)

func (*ListVersionsRequest) SetPageSize

func (m *ListVersionsRequest) SetPageSize(v int64)

func (*ListVersionsRequest) SetPageToken

func (m *ListVersionsRequest) SetPageToken(v string)

func (*ListVersionsRequest) String

func (x *ListVersionsRequest) String() string

type ListVersionsResponse

type ListVersionsResponse struct {

	// List of versions for the specified certificate.
	Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number
	// of results is greater than the specified [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 (*ListVersionsResponse) Descriptor deprecated

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

Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListVersionsResponse) GetNextPageToken

func (x *ListVersionsResponse) GetNextPageToken() string

func (*ListVersionsResponse) GetVersions

func (x *ListVersionsResponse) GetVersions() []*Version

func (*ListVersionsResponse) ProtoMessage

func (*ListVersionsResponse) ProtoMessage()

func (*ListVersionsResponse) ProtoReflect

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

func (*ListVersionsResponse) Reset

func (x *ListVersionsResponse) Reset()

func (*ListVersionsResponse) SetNextPageToken

func (m *ListVersionsResponse) SetNextPageToken(v string)

func (*ListVersionsResponse) SetVersions

func (m *ListVersionsResponse) SetVersions(v []*Version)

func (*ListVersionsResponse) String

func (x *ListVersionsResponse) String() string

type PrivateKeyFormat

type PrivateKeyFormat int32
const (
	PrivateKeyFormat_PRIVATE_KEY_FORMAT_UNSPECIFIED PrivateKeyFormat = 0
	PrivateKeyFormat_PKCS1                          PrivateKeyFormat = 1
	PrivateKeyFormat_PKCS8                          PrivateKeyFormat = 2
)

func (PrivateKeyFormat) Descriptor

func (PrivateKeyFormat) Enum

func (PrivateKeyFormat) EnumDescriptor deprecated

func (PrivateKeyFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use PrivateKeyFormat.Descriptor instead.

func (PrivateKeyFormat) Number

func (PrivateKeyFormat) String

func (x PrivateKeyFormat) String() string

func (PrivateKeyFormat) Type

type RequestNewCertificateMetadata

type RequestNewCertificateMetadata struct {

	// ID of the certificate that is being requested.
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestNewCertificateMetadata) Descriptor deprecated

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

Deprecated: Use RequestNewCertificateMetadata.ProtoReflect.Descriptor instead.

func (*RequestNewCertificateMetadata) GetCertificateId

func (x *RequestNewCertificateMetadata) GetCertificateId() string

func (*RequestNewCertificateMetadata) ProtoMessage

func (*RequestNewCertificateMetadata) ProtoMessage()

func (*RequestNewCertificateMetadata) ProtoReflect

func (*RequestNewCertificateMetadata) Reset

func (x *RequestNewCertificateMetadata) Reset()

func (*RequestNewCertificateMetadata) SetCertificateId

func (m *RequestNewCertificateMetadata) SetCertificateId(v string)

func (*RequestNewCertificateMetadata) String

type RequestNewCertificateRequest

type RequestNewCertificateRequest struct {

	// ID of the folder to create a certificate in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the certificate.
	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"`
	// Labels for the certificate as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Fully qualified domain names of the certificate.
	Domains []string `protobuf:"bytes,5,rep,name=domains,proto3" json:"domains,omitempty"`
	// Type of the domain validation challenge.
	ChallengeType ChallengeType `` /* 155-byte string literal not displayed */
	// Flag that protects deletion of the certificate
	DeletionProtection bool `protobuf:"varint,7,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestNewCertificateRequest) Descriptor deprecated

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

Deprecated: Use RequestNewCertificateRequest.ProtoReflect.Descriptor instead.

func (*RequestNewCertificateRequest) GetChallengeType

func (x *RequestNewCertificateRequest) GetChallengeType() ChallengeType

func (*RequestNewCertificateRequest) GetDeletionProtection

func (x *RequestNewCertificateRequest) GetDeletionProtection() bool

func (*RequestNewCertificateRequest) GetDescription

func (x *RequestNewCertificateRequest) GetDescription() string

func (*RequestNewCertificateRequest) GetDomains

func (x *RequestNewCertificateRequest) GetDomains() []string

func (*RequestNewCertificateRequest) GetFolderId

func (x *RequestNewCertificateRequest) GetFolderId() string

func (*RequestNewCertificateRequest) GetLabels

func (x *RequestNewCertificateRequest) GetLabels() map[string]string

func (*RequestNewCertificateRequest) GetName

func (x *RequestNewCertificateRequest) GetName() string

func (*RequestNewCertificateRequest) ProtoMessage

func (*RequestNewCertificateRequest) ProtoMessage()

func (*RequestNewCertificateRequest) ProtoReflect

func (*RequestNewCertificateRequest) Reset

func (x *RequestNewCertificateRequest) Reset()

func (*RequestNewCertificateRequest) SetChallengeType

func (m *RequestNewCertificateRequest) SetChallengeType(v ChallengeType)

func (*RequestNewCertificateRequest) SetDeletionProtection

func (m *RequestNewCertificateRequest) SetDeletionProtection(v bool)

func (*RequestNewCertificateRequest) SetDescription

func (m *RequestNewCertificateRequest) SetDescription(v string)

func (*RequestNewCertificateRequest) SetDomains

func (m *RequestNewCertificateRequest) SetDomains(v []string)

func (*RequestNewCertificateRequest) SetFolderId

func (m *RequestNewCertificateRequest) SetFolderId(v string)

func (*RequestNewCertificateRequest) SetLabels

func (m *RequestNewCertificateRequest) SetLabels(v map[string]string)

func (*RequestNewCertificateRequest) SetName

func (m *RequestNewCertificateRequest) SetName(v string)

func (*RequestNewCertificateRequest) String

type UnimplementedCertificateContentServiceServer

type UnimplementedCertificateContentServiceServer struct{}

UnimplementedCertificateContentServiceServer 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.

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) Delete

func (UnimplementedCertificateServiceServer) Get

func (UnimplementedCertificateServiceServer) List

func (UnimplementedCertificateServiceServer) ListVersions

func (UnimplementedCertificateServiceServer) RequestNew

func (UnimplementedCertificateServiceServer) SetAccessBindings

func (UnimplementedCertificateServiceServer) Update

func (UnimplementedCertificateServiceServer) UpdateAccessBindings

type UnsafeCertificateContentServiceServer

type UnsafeCertificateContentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCertificateContentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CertificateContentServiceServer will result in compilation errors.

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 UpdateCertificateMetadata

type UpdateCertificateMetadata struct {

	// ID of the certificate 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 (*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 ID of a certificate use 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 attributes 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"`
	// New name for the certificate.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// New description for the certificate.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// New labels for the certificate as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// New PEM-encoded certificate content for the certificate. Used only for imported certificates.
	Certificate string `protobuf:"bytes,6,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// New PEM-encoded certificate chain content for the certificate. Used only for imported certificates.
	Chain string `protobuf:"bytes,7,opt,name=chain,proto3" json:"chain,omitempty"`
	// New PEM-encoded private key content for the certificate. Used only for imported certificates.
	PrivateKey string `protobuf:"bytes,8,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// Flag that protects deletion of the certificate
	DeletionProtection bool `protobuf:"varint,9,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCertificateRequest) Descriptor deprecated

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

Deprecated: Use UpdateCertificateRequest.ProtoReflect.Descriptor instead.

func (*UpdateCertificateRequest) GetCertificate

func (x *UpdateCertificateRequest) GetCertificate() string

func (*UpdateCertificateRequest) GetCertificateId

func (x *UpdateCertificateRequest) GetCertificateId() string

func (*UpdateCertificateRequest) GetChain

func (x *UpdateCertificateRequest) GetChain() string

func (*UpdateCertificateRequest) GetDeletionProtection

func (x *UpdateCertificateRequest) GetDeletionProtection() bool

func (*UpdateCertificateRequest) GetDescription

func (x *UpdateCertificateRequest) GetDescription() string

func (*UpdateCertificateRequest) GetLabels

func (x *UpdateCertificateRequest) GetLabels() map[string]string

func (*UpdateCertificateRequest) GetName

func (x *UpdateCertificateRequest) GetName() string

func (*UpdateCertificateRequest) GetPrivateKey

func (x *UpdateCertificateRequest) GetPrivateKey() 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) SetCertificate

func (m *UpdateCertificateRequest) SetCertificate(v string)

func (*UpdateCertificateRequest) SetCertificateId

func (m *UpdateCertificateRequest) SetCertificateId(v string)

func (*UpdateCertificateRequest) SetChain

func (m *UpdateCertificateRequest) SetChain(v string)

func (*UpdateCertificateRequest) SetDeletionProtection

func (m *UpdateCertificateRequest) SetDeletionProtection(v bool)

func (*UpdateCertificateRequest) SetDescription

func (m *UpdateCertificateRequest) SetDescription(v string)

func (*UpdateCertificateRequest) SetLabels

func (m *UpdateCertificateRequest) SetLabels(v map[string]string)

func (*UpdateCertificateRequest) SetName

func (m *UpdateCertificateRequest) SetName(v string)

func (*UpdateCertificateRequest) SetPrivateKey

func (m *UpdateCertificateRequest) SetPrivateKey(v string)

func (*UpdateCertificateRequest) SetUpdateMask

func (m *UpdateCertificateRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateCertificateRequest) String

func (x *UpdateCertificateRequest) String() string

type Version

type Version struct {

	// ID of the version.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the certificate that the version belongs to.
	CertificateId string `protobuf:"bytes,2,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// Time when the version was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

A certificate version

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetCertificateId

func (x *Version) GetCertificateId() string

func (*Version) GetCreatedAt

func (x *Version) GetCreatedAt() *timestamppb.Timestamp

func (*Version) GetId

func (x *Version) GetId() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) SetCertificateId

func (m *Version) SetCertificateId(v string)

func (*Version) SetCreatedAt

func (m *Version) SetCreatedAt(v *timestamppb.Timestamp)

func (*Version) SetId

func (m *Version) SetId(v string)

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

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