cdn

package
v0.0.0-...-a04abcf Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 14 Imported by: 3

Documentation

Index

Constants

View Source
const (
	CacheService_Purge_FullMethodName    = "/yandex.cloud.cdn.v1.CacheService/Purge"
	CacheService_Prefetch_FullMethodName = "/yandex.cloud.cdn.v1.CacheService/Prefetch"
)
View Source
const (
	OriginGroupService_Get_FullMethodName    = "/yandex.cloud.cdn.v1.OriginGroupService/Get"
	OriginGroupService_List_FullMethodName   = "/yandex.cloud.cdn.v1.OriginGroupService/List"
	OriginGroupService_Create_FullMethodName = "/yandex.cloud.cdn.v1.OriginGroupService/Create"
	OriginGroupService_Update_FullMethodName = "/yandex.cloud.cdn.v1.OriginGroupService/Update"
	OriginGroupService_Delete_FullMethodName = "/yandex.cloud.cdn.v1.OriginGroupService/Delete"
)
View Source
const (
	OriginService_Get_FullMethodName    = "/yandex.cloud.cdn.v1.OriginService/Get"
	OriginService_List_FullMethodName   = "/yandex.cloud.cdn.v1.OriginService/List"
	OriginService_Create_FullMethodName = "/yandex.cloud.cdn.v1.OriginService/Create"
	OriginService_Update_FullMethodName = "/yandex.cloud.cdn.v1.OriginService/Update"
	OriginService_Delete_FullMethodName = "/yandex.cloud.cdn.v1.OriginService/Delete"
)
View Source
const (
	ProviderService_Activate_FullMethodName      = "/yandex.cloud.cdn.v1.ProviderService/Activate"
	ProviderService_ListActivated_FullMethodName = "/yandex.cloud.cdn.v1.ProviderService/ListActivated"
)
View Source
const (
	RawLogsService_Activate_FullMethodName   = "/yandex.cloud.cdn.v1.RawLogsService/Activate"
	RawLogsService_Deactivate_FullMethodName = "/yandex.cloud.cdn.v1.RawLogsService/Deactivate"
	RawLogsService_Get_FullMethodName        = "/yandex.cloud.cdn.v1.RawLogsService/Get"
	RawLogsService_Update_FullMethodName     = "/yandex.cloud.cdn.v1.RawLogsService/Update"
)
View Source
const (
	ResourceService_Get_FullMethodName              = "/yandex.cloud.cdn.v1.ResourceService/Get"
	ResourceService_List_FullMethodName             = "/yandex.cloud.cdn.v1.ResourceService/List"
	ResourceService_Create_FullMethodName           = "/yandex.cloud.cdn.v1.ResourceService/Create"
	ResourceService_Update_FullMethodName           = "/yandex.cloud.cdn.v1.ResourceService/Update"
	ResourceService_Delete_FullMethodName           = "/yandex.cloud.cdn.v1.ResourceService/Delete"
	ResourceService_GetProviderCName_FullMethodName = "/yandex.cloud.cdn.v1.ResourceService/GetProviderCName"
)
View Source
const (
	ResourceRulesService_List_FullMethodName   = "/yandex.cloud.cdn.v1.ResourceRulesService/List"
	ResourceRulesService_Create_FullMethodName = "/yandex.cloud.cdn.v1.ResourceRulesService/Create"
	ResourceRulesService_Get_FullMethodName    = "/yandex.cloud.cdn.v1.ResourceRulesService/Get"
	ResourceRulesService_Update_FullMethodName = "/yandex.cloud.cdn.v1.ResourceRulesService/Update"
	ResourceRulesService_Delete_FullMethodName = "/yandex.cloud.cdn.v1.ResourceRulesService/Delete"
)

Variables

View Source
var (
	RawLogsStatus_name = map[int32]string{
		0: "RAW_LOGS_STATUS_UNSPECIFIED",
		1: "RAW_LOGS_STATUS_NOT_ACTIVATED",
		2: "RAW_LOGS_STATUS_OK",
		3: "RAW_LOGS_STATUS_FAILED",
		4: "RAW_LOGS_STATUS_PENDING",
	}
	RawLogsStatus_value = map[string]int32{
		"RAW_LOGS_STATUS_UNSPECIFIED":   0,
		"RAW_LOGS_STATUS_NOT_ACTIVATED": 1,
		"RAW_LOGS_STATUS_OK":            2,
		"RAW_LOGS_STATUS_FAILED":        3,
		"RAW_LOGS_STATUS_PENDING":       4,
	}
)

Enum value maps for RawLogsStatus.

View Source
var (
	OriginProtocol_name = map[int32]string{
		0: "ORIGIN_PROTOCOL_UNSPECIFIED",
		1: "HTTP",
		2: "HTTPS",
		3: "MATCH",
	}
	OriginProtocol_value = map[string]int32{
		"ORIGIN_PROTOCOL_UNSPECIFIED": 0,
		"HTTP":                        1,
		"HTTPS":                       2,
		"MATCH":                       3,
	}
)

Enum value maps for OriginProtocol.

View Source
var (
	RewriteFlag_name = map[int32]string{
		0: "REWRITE_FLAG_UNSPECIFIED",
		1: "LAST",
		2: "BREAK",
		3: "REDIRECT",
		4: "PERMANENT",
	}
	RewriteFlag_value = map[string]int32{
		"REWRITE_FLAG_UNSPECIFIED": 0,
		"LAST":                     1,
		"BREAK":                    2,
		"REDIRECT":                 3,
		"PERMANENT":                4,
	}
)

Enum value maps for RewriteFlag.

View Source
var (
	SecureKeyURLType_name = map[int32]string{
		0: "SECURE_KEY_URL_TYPE_UNSPECIFIED",
		1: "ENABLE_IP_SIGNING",
		2: "DISABLE_IP_SIGNING",
	}
	SecureKeyURLType_value = map[string]int32{
		"SECURE_KEY_URL_TYPE_UNSPECIFIED": 0,
		"ENABLE_IP_SIGNING":               1,
		"DISABLE_IP_SIGNING":              2,
	}
)

Enum value maps for SecureKeyURLType.

View Source
var (
	PolicyType_name = map[int32]string{
		0: "POLICY_TYPE_UNSPECIFIED",
		1: "POLICY_TYPE_ALLOW",
		2: "POLICY_TYPE_DENY",
	}
	PolicyType_value = map[string]int32{
		"POLICY_TYPE_UNSPECIFIED": 0,
		"POLICY_TYPE_ALLOW":       1,
		"POLICY_TYPE_DENY":        2,
	}
)

Enum value maps for PolicyType.

View Source
var (
	SSLCertificateType_name = map[int32]string{
		0: "SSL_CERTIFICATE_TYPE_UNSPECIFIED",
		1: "DONT_USE",
		2: "LETS_ENCRYPT_GCORE",
		3: "CM",
	}
	SSLCertificateType_value = map[string]int32{
		"SSL_CERTIFICATE_TYPE_UNSPECIFIED": 0,
		"DONT_USE":                         1,
		"LETS_ENCRYPT_GCORE":               2,
		"CM":                               3,
	}
)

Enum value maps for SSLCertificateType.

View Source
var (
	SSLCertificateStatus_name = map[int32]string{
		0: "SSL_CERTIFICATE_STATUS_UNSPECIFIED",
		1: "READY",
		2: "CREATING",
	}
	SSLCertificateStatus_value = map[string]int32{
		"SSL_CERTIFICATE_STATUS_UNSPECIFIED": 0,
		"READY":                              1,
		"CREATING":                           2,
	}
)

Enum value maps for SSLCertificateStatus.

View Source
var CacheService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.cdn.v1.CacheService",
	HandlerType: (*CacheServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Purge",
			Handler:    _CacheService_Purge_Handler,
		},
		{
			MethodName: "Prefetch",
			Handler:    _CacheService_Prefetch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/cdn/v1/cache_service.proto",
}

CacheService_ServiceDesc is the grpc.ServiceDesc for CacheService 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_cdn_v1_cache_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_origin_group_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_origin_group_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_origin_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_origin_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_provider_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_raw_logs_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_raw_logs_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_resource_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_resource_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_rule_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_cdn_v1_rule_service_proto protoreflect.FileDescriptor
View Source
var OriginGroupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.cdn.v1.OriginGroupService",
	HandlerType: (*OriginGroupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _OriginGroupService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _OriginGroupService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _OriginGroupService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _OriginGroupService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _OriginGroupService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/cdn/v1/origin_group_service.proto",
}

OriginGroupService_ServiceDesc is the grpc.ServiceDesc for OriginGroupService 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 OriginService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.cdn.v1.OriginService",
	HandlerType: (*OriginServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _OriginService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _OriginService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _OriginService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _OriginService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _OriginService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/cdn/v1/origin_service.proto",
}

OriginService_ServiceDesc is the grpc.ServiceDesc for OriginService 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 ProviderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.cdn.v1.ProviderService",
	HandlerType: (*ProviderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Activate",
			Handler:    _ProviderService_Activate_Handler,
		},
		{
			MethodName: "ListActivated",
			Handler:    _ProviderService_ListActivated_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/cdn/v1/provider_service.proto",
}

ProviderService_ServiceDesc is the grpc.ServiceDesc for ProviderService 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 RawLogsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.cdn.v1.RawLogsService",
	HandlerType: (*RawLogsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Activate",
			Handler:    _RawLogsService_Activate_Handler,
		},
		{
			MethodName: "Deactivate",
			Handler:    _RawLogsService_Deactivate_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _RawLogsService_Get_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _RawLogsService_Update_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/cdn/v1/raw_logs_service.proto",
}

RawLogsService_ServiceDesc is the grpc.ServiceDesc for RawLogsService 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 ResourceRulesService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.cdn.v1.ResourceRulesService",
	HandlerType: (*ResourceRulesServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _ResourceRulesService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ResourceRulesService_Create_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _ResourceRulesService_Get_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ResourceRulesService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ResourceRulesService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/cdn/v1/rule_service.proto",
}

ResourceRulesService_ServiceDesc is the grpc.ServiceDesc for ResourceRulesService 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 ResourceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.cdn.v1.ResourceService",
	HandlerType: (*ResourceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ResourceService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ResourceService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ResourceService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ResourceService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ResourceService_Delete_Handler,
		},
		{
			MethodName: "GetProviderCName",
			Handler:    _ResourceService_GetProviderCName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/cdn/v1/resource_service.proto",
}

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

Functions

func RegisterCacheServiceServer

func RegisterCacheServiceServer(s grpc.ServiceRegistrar, srv CacheServiceServer)

func RegisterOriginGroupServiceServer

func RegisterOriginGroupServiceServer(s grpc.ServiceRegistrar, srv OriginGroupServiceServer)

func RegisterOriginServiceServer

func RegisterOriginServiceServer(s grpc.ServiceRegistrar, srv OriginServiceServer)

func RegisterProviderServiceServer

func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)

func RegisterRawLogsServiceServer

func RegisterRawLogsServiceServer(s grpc.ServiceRegistrar, srv RawLogsServiceServer)

func RegisterResourceRulesServiceServer

func RegisterResourceRulesServiceServer(s grpc.ServiceRegistrar, srv ResourceRulesServiceServer)

func RegisterResourceServiceServer

func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)

Types

type ActivateProviderMetadata

type ActivateProviderMetadata struct {

	// ID of the folder that the activate provider belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateProviderMetadata) Descriptor deprecated

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

Deprecated: Use ActivateProviderMetadata.ProtoReflect.Descriptor instead.

func (*ActivateProviderMetadata) GetFolderId

func (x *ActivateProviderMetadata) GetFolderId() string

func (*ActivateProviderMetadata) ProtoMessage

func (*ActivateProviderMetadata) ProtoMessage()

func (*ActivateProviderMetadata) ProtoReflect

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

func (*ActivateProviderMetadata) Reset

func (x *ActivateProviderMetadata) Reset()

func (*ActivateProviderMetadata) SetFolderId

func (m *ActivateProviderMetadata) SetFolderId(v string)

func (*ActivateProviderMetadata) String

func (x *ActivateProviderMetadata) String() string

type ActivateProviderRequest

type ActivateProviderRequest struct {

	// ID of the folder that the activate provider belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Specify provider brand/type.
	//
	// Possible values: `gcore`.
	ProviderType string `protobuf:"bytes,2,opt,name=provider_type,json=providerType,proto3" json:"provider_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateProviderRequest) Descriptor deprecated

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

Deprecated: Use ActivateProviderRequest.ProtoReflect.Descriptor instead.

func (*ActivateProviderRequest) GetFolderId

func (x *ActivateProviderRequest) GetFolderId() string

func (*ActivateProviderRequest) GetProviderType

func (x *ActivateProviderRequest) GetProviderType() string

func (*ActivateProviderRequest) ProtoMessage

func (*ActivateProviderRequest) ProtoMessage()

func (*ActivateProviderRequest) ProtoReflect

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

func (*ActivateProviderRequest) Reset

func (x *ActivateProviderRequest) Reset()

func (*ActivateProviderRequest) SetFolderId

func (m *ActivateProviderRequest) SetFolderId(v string)

func (*ActivateProviderRequest) SetProviderType

func (m *ActivateProviderRequest) SetProviderType(v string)

func (*ActivateProviderRequest) String

func (x *ActivateProviderRequest) String() string

type ActivateRawLogsMetadata

type ActivateRawLogsMetadata struct {

	// ID of resource with activated raw logs.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateRawLogsMetadata) Descriptor deprecated

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

Deprecated: Use ActivateRawLogsMetadata.ProtoReflect.Descriptor instead.

func (*ActivateRawLogsMetadata) GetResourceId

func (x *ActivateRawLogsMetadata) GetResourceId() string

func (*ActivateRawLogsMetadata) ProtoMessage

func (*ActivateRawLogsMetadata) ProtoMessage()

func (*ActivateRawLogsMetadata) ProtoReflect

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

func (*ActivateRawLogsMetadata) Reset

func (x *ActivateRawLogsMetadata) Reset()

func (*ActivateRawLogsMetadata) SetResourceId

func (m *ActivateRawLogsMetadata) SetResourceId(v string)

func (*ActivateRawLogsMetadata) String

func (x *ActivateRawLogsMetadata) String() string

type ActivateRawLogsRequest

type ActivateRawLogsRequest struct {

	// ID of CDN resource to switch logs storage for..
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Raw logs settings.
	Settings *RawLogsSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateRawLogsRequest) Descriptor deprecated

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

Deprecated: Use ActivateRawLogsRequest.ProtoReflect.Descriptor instead.

func (*ActivateRawLogsRequest) GetResourceId

func (x *ActivateRawLogsRequest) GetResourceId() string

func (*ActivateRawLogsRequest) GetSettings

func (x *ActivateRawLogsRequest) GetSettings() *RawLogsSettings

func (*ActivateRawLogsRequest) ProtoMessage

func (*ActivateRawLogsRequest) ProtoMessage()

func (*ActivateRawLogsRequest) ProtoReflect

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

func (*ActivateRawLogsRequest) Reset

func (x *ActivateRawLogsRequest) Reset()

func (*ActivateRawLogsRequest) SetResourceId

func (m *ActivateRawLogsRequest) SetResourceId(v string)

func (*ActivateRawLogsRequest) SetSettings

func (m *ActivateRawLogsRequest) SetSettings(v *RawLogsSettings)

func (*ActivateRawLogsRequest) String

func (x *ActivateRawLogsRequest) String() string

type ActivateRawLogsResponse

type ActivateRawLogsResponse struct {

	// Raw logs status.
	Status RawLogsStatus `protobuf:"varint,1,opt,name=status,proto3,enum=yandex.cloud.cdn.v1.RawLogsStatus" json:"status,omitempty"`
	// Raw logs settings.
	Settings *RawLogsSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateRawLogsResponse) Descriptor deprecated

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

Deprecated: Use ActivateRawLogsResponse.ProtoReflect.Descriptor instead.

func (*ActivateRawLogsResponse) GetSettings

func (x *ActivateRawLogsResponse) GetSettings() *RawLogsSettings

func (*ActivateRawLogsResponse) GetStatus

func (x *ActivateRawLogsResponse) GetStatus() RawLogsStatus

func (*ActivateRawLogsResponse) ProtoMessage

func (*ActivateRawLogsResponse) ProtoMessage()

func (*ActivateRawLogsResponse) ProtoReflect

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

func (*ActivateRawLogsResponse) Reset

func (x *ActivateRawLogsResponse) Reset()

func (*ActivateRawLogsResponse) SetSettings

func (m *ActivateRawLogsResponse) SetSettings(v *RawLogsSettings)

func (*ActivateRawLogsResponse) SetStatus

func (m *ActivateRawLogsResponse) SetStatus(v RawLogsStatus)

func (*ActivateRawLogsResponse) String

func (x *ActivateRawLogsResponse) String() string

type CacheServiceClient

type CacheServiceClient interface {
	// Removes specified files from the cache of the specified resource. For details about purging, see [documentation](/docs/cdn/concepts/caching#purge).
	//
	// Purging may take up to 15 minutes.
	Purge(ctx context.Context, in *PurgeCacheRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Uploads specified files from origins to cache of the specified resource. For defails about prefetching, see [documentation](/docs/cdn/concepts/caching#prefetch).
	Prefetch(ctx context.Context, in *PrefetchCacheRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

CacheServiceClient is the client API for CacheService 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.

type CacheServiceServer

type CacheServiceServer interface {
	// Removes specified files from the cache of the specified resource. For details about purging, see [documentation](/docs/cdn/concepts/caching#purge).
	//
	// Purging may take up to 15 minutes.
	Purge(context.Context, *PurgeCacheRequest) (*operation.Operation, error)
	// Uploads specified files from origins to cache of the specified resource. For defails about prefetching, see [documentation](/docs/cdn/concepts/caching#prefetch).
	Prefetch(context.Context, *PrefetchCacheRequest) (*operation.Operation, error)
}

CacheServiceServer is the server API for CacheService service. All implementations should embed UnimplementedCacheServiceServer for forward compatibility

type CreateOriginGroupMetadata

type CreateOriginGroupMetadata struct {

	// ID of created origin group.
	OriginGroupId int64 `protobuf:"varint,1,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOriginGroupMetadata) Descriptor deprecated

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

Deprecated: Use CreateOriginGroupMetadata.ProtoReflect.Descriptor instead.

func (*CreateOriginGroupMetadata) GetOriginGroupId

func (x *CreateOriginGroupMetadata) GetOriginGroupId() int64

func (*CreateOriginGroupMetadata) ProtoMessage

func (*CreateOriginGroupMetadata) ProtoMessage()

func (*CreateOriginGroupMetadata) ProtoReflect

func (*CreateOriginGroupMetadata) Reset

func (x *CreateOriginGroupMetadata) Reset()

func (*CreateOriginGroupMetadata) SetOriginGroupId

func (m *CreateOriginGroupMetadata) SetOriginGroupId(v int64)

func (*CreateOriginGroupMetadata) String

func (x *CreateOriginGroupMetadata) String() string

type CreateOriginGroupRequest

type CreateOriginGroupRequest struct {

	// ID of the folder that the origin group belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the origin group.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// This option have two possible conditions:
	//
	//	true - The option is active. In case the origin responds with 4XX or 5XX codes,
	//	       use the next origin from the list.
	//	false - The option is disabled.
	//
	//	default value is true
	UseNext *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=use_next,json=useNext,proto3" json:"use_next,omitempty"`
	// List of origins: IP addresses or Domain names of your origins and the port
	// (if custom).
	Origins []*OriginParams `protobuf:"bytes,4,rep,name=origins,proto3" json:"origins,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOriginGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateOriginGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateOriginGroupRequest) GetFolderId

func (x *CreateOriginGroupRequest) GetFolderId() string

func (*CreateOriginGroupRequest) GetName

func (x *CreateOriginGroupRequest) GetName() string

func (*CreateOriginGroupRequest) GetOrigins

func (x *CreateOriginGroupRequest) GetOrigins() []*OriginParams

func (*CreateOriginGroupRequest) GetUseNext

func (*CreateOriginGroupRequest) ProtoMessage

func (*CreateOriginGroupRequest) ProtoMessage()

func (*CreateOriginGroupRequest) ProtoReflect

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

func (*CreateOriginGroupRequest) Reset

func (x *CreateOriginGroupRequest) Reset()

func (*CreateOriginGroupRequest) SetFolderId

func (m *CreateOriginGroupRequest) SetFolderId(v string)

func (*CreateOriginGroupRequest) SetName

func (m *CreateOriginGroupRequest) SetName(v string)

func (*CreateOriginGroupRequest) SetOrigins

func (m *CreateOriginGroupRequest) SetOrigins(v []*OriginParams)

func (*CreateOriginGroupRequest) SetUseNext

func (m *CreateOriginGroupRequest) SetUseNext(v *wrapperspb.BoolValue)

func (*CreateOriginGroupRequest) String

func (x *CreateOriginGroupRequest) String() string

type CreateOriginMetadata

type CreateOriginMetadata struct {

	// ID of the origin.
	OriginId int64 `protobuf:"varint,1,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// ID pf the parent origins group.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOriginMetadata) Descriptor deprecated

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

Deprecated: Use CreateOriginMetadata.ProtoReflect.Descriptor instead.

func (*CreateOriginMetadata) GetOriginGroupId

func (x *CreateOriginMetadata) GetOriginGroupId() int64

func (*CreateOriginMetadata) GetOriginId

func (x *CreateOriginMetadata) GetOriginId() int64

func (*CreateOriginMetadata) ProtoMessage

func (*CreateOriginMetadata) ProtoMessage()

func (*CreateOriginMetadata) ProtoReflect

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

func (*CreateOriginMetadata) Reset

func (x *CreateOriginMetadata) Reset()

func (*CreateOriginMetadata) SetOriginGroupId

func (m *CreateOriginMetadata) SetOriginGroupId(v int64)

func (*CreateOriginMetadata) SetOriginId

func (m *CreateOriginMetadata) SetOriginId(v int64)

func (*CreateOriginMetadata) String

func (x *CreateOriginMetadata) String() string

type CreateOriginRequest

type CreateOriginRequest struct {

	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// [origin_group_id] group ID to request origins from.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// IP address or Domain name of your origin and the port (if custom).
	// Used if [meta] variant is `common`.
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// The setting allows to enable or disable an Origin source in the Origins group.
	//
	// It has two possible values:
	//
	// True - The origin is enabled and used as a source for the CDN. An origins
	// group must contain at least one enabled origin. Default value.
	// False - The origin is disabled and the CDN is not using it to pull content.
	Enabled *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Specifies whether the origin is used in its origin group as backup.
	// A backup origin is used when one of active origins becomes unavailable.
	//
	// Default value: False.
	Backup *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=backup,proto3" json:"backup,omitempty"`
	// Set up origin of the content.
	Meta *OriginMeta `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOriginRequest) Descriptor deprecated

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

Deprecated: Use CreateOriginRequest.ProtoReflect.Descriptor instead.

func (*CreateOriginRequest) GetBackup

func (x *CreateOriginRequest) GetBackup() *wrapperspb.BoolValue

func (*CreateOriginRequest) GetEnabled

func (x *CreateOriginRequest) GetEnabled() *wrapperspb.BoolValue

func (*CreateOriginRequest) GetFolderId

func (x *CreateOriginRequest) GetFolderId() string

func (*CreateOriginRequest) GetMeta

func (x *CreateOriginRequest) GetMeta() *OriginMeta

func (*CreateOriginRequest) GetOriginGroupId

func (x *CreateOriginRequest) GetOriginGroupId() int64

func (*CreateOriginRequest) GetSource

func (x *CreateOriginRequest) GetSource() string

func (*CreateOriginRequest) ProtoMessage

func (*CreateOriginRequest) ProtoMessage()

func (*CreateOriginRequest) ProtoReflect

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

func (*CreateOriginRequest) Reset

func (x *CreateOriginRequest) Reset()

func (*CreateOriginRequest) SetBackup

func (m *CreateOriginRequest) SetBackup(v *wrapperspb.BoolValue)

func (*CreateOriginRequest) SetEnabled

func (m *CreateOriginRequest) SetEnabled(v *wrapperspb.BoolValue)

func (*CreateOriginRequest) SetFolderId

func (m *CreateOriginRequest) SetFolderId(v string)

func (*CreateOriginRequest) SetMeta

func (m *CreateOriginRequest) SetMeta(v *OriginMeta)

func (*CreateOriginRequest) SetOriginGroupId

func (m *CreateOriginRequest) SetOriginGroupId(v int64)

func (*CreateOriginRequest) SetSource

func (m *CreateOriginRequest) SetSource(v string)

func (*CreateOriginRequest) String

func (x *CreateOriginRequest) String() string

type CreateResourceMetadata

type CreateResourceMetadata struct {

	// ID of created resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceMetadata) Descriptor deprecated

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

Deprecated: Use CreateResourceMetadata.ProtoReflect.Descriptor instead.

func (*CreateResourceMetadata) GetResourceId

func (x *CreateResourceMetadata) GetResourceId() string

func (*CreateResourceMetadata) ProtoMessage

func (*CreateResourceMetadata) ProtoMessage()

func (*CreateResourceMetadata) ProtoReflect

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

func (*CreateResourceMetadata) Reset

func (x *CreateResourceMetadata) Reset()

func (*CreateResourceMetadata) SetResourceId

func (m *CreateResourceMetadata) SetResourceId(v string)

func (*CreateResourceMetadata) String

func (x *CreateResourceMetadata) String() string

type CreateResourceRequest

type CreateResourceRequest struct {

	// ID of the to bind with new resource.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// CDN endpoint CNAME, must be unique among clients's resources.
	Cname string `protobuf:"bytes,2,opt,name=cname,proto3" json:"cname,omitempty"`
	// Specify the origins to be used for CDN resources requests.
	Origin *CreateResourceRequest_Origin `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"`
	// List of additional CNAMEs.
	SecondaryHostnames *SecondaryHostnames `protobuf:"bytes,4,opt,name=secondary_hostnames,json=secondaryHostnames,proto3" json:"secondary_hostnames,omitempty"`
	// Specify the protocol schema to be used in communication with origin.
	OriginProtocol OriginProtocol `` /* 144-byte string literal not displayed */
	// Flag to create Resource either in active or disabled state.
	// In active state Origins payload could be transmitted from CDN CNAME requests.
	// Default value: true
	Active *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=active,proto3" json:"active,omitempty"`
	// Resource settings and options to tune CDN edge behavior. Most is unset.
	Options *ResourceOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
	// SSL Certificate options.
	SslCertificate *SSLTargetCertificate `protobuf:"bytes,8,opt,name=ssl_certificate,json=sslCertificate,proto3" json:"ssl_certificate,omitempty"`
	// Labels of the resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateResourceRequest) Descriptor deprecated

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

Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest) GetActive

func (x *CreateResourceRequest) GetActive() *wrapperspb.BoolValue

func (*CreateResourceRequest) GetCname

func (x *CreateResourceRequest) GetCname() string

func (*CreateResourceRequest) GetFolderId

func (x *CreateResourceRequest) GetFolderId() string

func (*CreateResourceRequest) GetLabels

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

func (*CreateResourceRequest) GetOptions

func (x *CreateResourceRequest) GetOptions() *ResourceOptions

func (*CreateResourceRequest) GetOrigin

func (*CreateResourceRequest) GetOriginProtocol

func (x *CreateResourceRequest) GetOriginProtocol() OriginProtocol

func (*CreateResourceRequest) GetSecondaryHostnames

func (x *CreateResourceRequest) GetSecondaryHostnames() *SecondaryHostnames

func (*CreateResourceRequest) GetSslCertificate

func (x *CreateResourceRequest) GetSslCertificate() *SSLTargetCertificate

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect

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

func (*CreateResourceRequest) Reset

func (x *CreateResourceRequest) Reset()

func (*CreateResourceRequest) SetActive

func (m *CreateResourceRequest) SetActive(v *wrapperspb.BoolValue)

func (*CreateResourceRequest) SetCname

func (m *CreateResourceRequest) SetCname(v string)

func (*CreateResourceRequest) SetFolderId

func (m *CreateResourceRequest) SetFolderId(v string)

func (*CreateResourceRequest) SetLabels

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

func (*CreateResourceRequest) SetOptions

func (m *CreateResourceRequest) SetOptions(v *ResourceOptions)

func (*CreateResourceRequest) SetOrigin

func (*CreateResourceRequest) SetOriginProtocol

func (m *CreateResourceRequest) SetOriginProtocol(v OriginProtocol)

func (*CreateResourceRequest) SetSecondaryHostnames

func (m *CreateResourceRequest) SetSecondaryHostnames(v *SecondaryHostnames)

func (*CreateResourceRequest) SetSslCertificate

func (m *CreateResourceRequest) SetSslCertificate(v *SSLTargetCertificate)

func (*CreateResourceRequest) String

func (x *CreateResourceRequest) String() string

type CreateResourceRequest_Origin

type CreateResourceRequest_Origin struct {

	// Types that are assignable to OriginVariant:
	//
	//	*CreateResourceRequest_Origin_OriginGroupId
	//	*CreateResourceRequest_Origin_OriginSource
	//	*CreateResourceRequest_Origin_OriginSourceParams
	OriginVariant isCreateResourceRequest_Origin_OriginVariant `protobuf_oneof:"origin_variant"`
	// contains filtered or unexported fields
}

func (*CreateResourceRequest_Origin) Descriptor deprecated

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

Deprecated: Use CreateResourceRequest_Origin.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest_Origin) GetOriginGroupId

func (x *CreateResourceRequest_Origin) GetOriginGroupId() int64

func (*CreateResourceRequest_Origin) GetOriginSource

func (x *CreateResourceRequest_Origin) GetOriginSource() string

func (*CreateResourceRequest_Origin) GetOriginSourceParams

func (x *CreateResourceRequest_Origin) GetOriginSourceParams() *ResourceOriginParams

func (*CreateResourceRequest_Origin) GetOriginVariant

func (m *CreateResourceRequest_Origin) GetOriginVariant() isCreateResourceRequest_Origin_OriginVariant

func (*CreateResourceRequest_Origin) ProtoMessage

func (*CreateResourceRequest_Origin) ProtoMessage()

func (*CreateResourceRequest_Origin) ProtoReflect

func (*CreateResourceRequest_Origin) Reset

func (x *CreateResourceRequest_Origin) Reset()

func (*CreateResourceRequest_Origin) SetOriginGroupId

func (m *CreateResourceRequest_Origin) SetOriginGroupId(v int64)

func (*CreateResourceRequest_Origin) SetOriginSource

func (m *CreateResourceRequest_Origin) SetOriginSource(v string)

func (*CreateResourceRequest_Origin) SetOriginSourceParams

func (m *CreateResourceRequest_Origin) SetOriginSourceParams(v *ResourceOriginParams)

func (*CreateResourceRequest_Origin) SetOriginVariant

func (*CreateResourceRequest_Origin) String

type CreateResourceRequest_Origin_OriginGroupId

type CreateResourceRequest_Origin_OriginGroupId struct {
	// ID of pre-created origin group.
	OriginGroupId int64 `protobuf:"varint,1,opt,name=origin_group_id,json=originGroupId,proto3,oneof"`
}

type CreateResourceRequest_Origin_OriginSource

type CreateResourceRequest_Origin_OriginSource struct {
	// Create new Origins group with single source, it's id will be
	// returned in result.
	OriginSource string `protobuf:"bytes,2,opt,name=origin_source,json=originSource,proto3,oneof"`
}

type CreateResourceRequest_Origin_OriginSourceParams

type CreateResourceRequest_Origin_OriginSourceParams struct {
	// Set up resource origin parameters.
	OriginSourceParams *ResourceOriginParams `protobuf:"bytes,3,opt,name=origin_source_params,json=originSourceParams,proto3,oneof"`
}

type CreateResourceRequest_Origin_OriginVariant

type CreateResourceRequest_Origin_OriginVariant = isCreateResourceRequest_Origin_OriginVariant

type CreateResourceRuleMetadata

type CreateResourceRuleMetadata struct {

	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of created resource rule.
	RuleId int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceRuleMetadata) Descriptor deprecated

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

Deprecated: Use CreateResourceRuleMetadata.ProtoReflect.Descriptor instead.

func (*CreateResourceRuleMetadata) GetResourceId

func (x *CreateResourceRuleMetadata) GetResourceId() string

func (*CreateResourceRuleMetadata) GetRuleId

func (x *CreateResourceRuleMetadata) GetRuleId() int64

func (*CreateResourceRuleMetadata) ProtoMessage

func (*CreateResourceRuleMetadata) ProtoMessage()

func (*CreateResourceRuleMetadata) ProtoReflect

func (*CreateResourceRuleMetadata) Reset

func (x *CreateResourceRuleMetadata) Reset()

func (*CreateResourceRuleMetadata) SetResourceId

func (m *CreateResourceRuleMetadata) SetResourceId(v string)

func (*CreateResourceRuleMetadata) SetRuleId

func (m *CreateResourceRuleMetadata) SetRuleId(v int64)

func (*CreateResourceRuleMetadata) String

func (x *CreateResourceRuleMetadata) String() string

type CreateResourceRuleRequest

type CreateResourceRuleRequest struct {

	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Name of created resource rule.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Resource rule pattern.
	RulePattern string           `protobuf:"bytes,3,opt,name=rule_pattern,json=rulePattern,proto3" json:"rule_pattern,omitempty"`
	Options     *ResourceOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceRuleRequest) Descriptor deprecated

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

Deprecated: Use CreateResourceRuleRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRuleRequest) GetName

func (x *CreateResourceRuleRequest) GetName() string

func (*CreateResourceRuleRequest) GetOptions

func (x *CreateResourceRuleRequest) GetOptions() *ResourceOptions

func (*CreateResourceRuleRequest) GetResourceId

func (x *CreateResourceRuleRequest) GetResourceId() string

func (*CreateResourceRuleRequest) GetRulePattern

func (x *CreateResourceRuleRequest) GetRulePattern() string

func (*CreateResourceRuleRequest) ProtoMessage

func (*CreateResourceRuleRequest) ProtoMessage()

func (*CreateResourceRuleRequest) ProtoReflect

func (*CreateResourceRuleRequest) Reset

func (x *CreateResourceRuleRequest) Reset()

func (*CreateResourceRuleRequest) SetName

func (m *CreateResourceRuleRequest) SetName(v string)

func (*CreateResourceRuleRequest) SetOptions

func (m *CreateResourceRuleRequest) SetOptions(v *ResourceOptions)

func (*CreateResourceRuleRequest) SetResourceId

func (m *CreateResourceRuleRequest) SetResourceId(v string)

func (*CreateResourceRuleRequest) SetRulePattern

func (m *CreateResourceRuleRequest) SetRulePattern(v string)

func (*CreateResourceRuleRequest) String

func (x *CreateResourceRuleRequest) String() string

type DeactivateRawLogsMetadata

type DeactivateRawLogsMetadata struct {

	// ID of CDN resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeactivateRawLogsMetadata) Descriptor deprecated

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

Deprecated: Use DeactivateRawLogsMetadata.ProtoReflect.Descriptor instead.

func (*DeactivateRawLogsMetadata) GetResourceId

func (x *DeactivateRawLogsMetadata) GetResourceId() string

func (*DeactivateRawLogsMetadata) ProtoMessage

func (*DeactivateRawLogsMetadata) ProtoMessage()

func (*DeactivateRawLogsMetadata) ProtoReflect

func (*DeactivateRawLogsMetadata) Reset

func (x *DeactivateRawLogsMetadata) Reset()

func (*DeactivateRawLogsMetadata) SetResourceId

func (m *DeactivateRawLogsMetadata) SetResourceId(v string)

func (*DeactivateRawLogsMetadata) String

func (x *DeactivateRawLogsMetadata) String() string

type DeactivateRawLogsRequest

type DeactivateRawLogsRequest struct {

	// ID of CDN resource to deactivate Raw Logs for.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeactivateRawLogsRequest) Descriptor deprecated

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

Deprecated: Use DeactivateRawLogsRequest.ProtoReflect.Descriptor instead.

func (*DeactivateRawLogsRequest) GetResourceId

func (x *DeactivateRawLogsRequest) GetResourceId() string

func (*DeactivateRawLogsRequest) ProtoMessage

func (*DeactivateRawLogsRequest) ProtoMessage()

func (*DeactivateRawLogsRequest) ProtoReflect

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

func (*DeactivateRawLogsRequest) Reset

func (x *DeactivateRawLogsRequest) Reset()

func (*DeactivateRawLogsRequest) SetResourceId

func (m *DeactivateRawLogsRequest) SetResourceId(v string)

func (*DeactivateRawLogsRequest) String

func (x *DeactivateRawLogsRequest) String() string

type DeleteOriginGroupMetadata

type DeleteOriginGroupMetadata struct {

	// ID of the origin group.
	OriginGroupId int64 `protobuf:"varint,1,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOriginGroupMetadata) Descriptor deprecated

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

Deprecated: Use DeleteOriginGroupMetadata.ProtoReflect.Descriptor instead.

func (*DeleteOriginGroupMetadata) GetOriginGroupId

func (x *DeleteOriginGroupMetadata) GetOriginGroupId() int64

func (*DeleteOriginGroupMetadata) ProtoMessage

func (*DeleteOriginGroupMetadata) ProtoMessage()

func (*DeleteOriginGroupMetadata) ProtoReflect

func (*DeleteOriginGroupMetadata) Reset

func (x *DeleteOriginGroupMetadata) Reset()

func (*DeleteOriginGroupMetadata) SetOriginGroupId

func (m *DeleteOriginGroupMetadata) SetOriginGroupId(v int64)

func (*DeleteOriginGroupMetadata) String

func (x *DeleteOriginGroupMetadata) String() string

type DeleteOriginGroupRequest

type DeleteOriginGroupRequest struct {

	// ID of the folder that the origin group belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the origin group.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOriginGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteOriginGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteOriginGroupRequest) GetFolderId

func (x *DeleteOriginGroupRequest) GetFolderId() string

func (*DeleteOriginGroupRequest) GetOriginGroupId

func (x *DeleteOriginGroupRequest) GetOriginGroupId() int64

func (*DeleteOriginGroupRequest) ProtoMessage

func (*DeleteOriginGroupRequest) ProtoMessage()

func (*DeleteOriginGroupRequest) ProtoReflect

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

func (*DeleteOriginGroupRequest) Reset

func (x *DeleteOriginGroupRequest) Reset()

func (*DeleteOriginGroupRequest) SetFolderId

func (m *DeleteOriginGroupRequest) SetFolderId(v string)

func (*DeleteOriginGroupRequest) SetOriginGroupId

func (m *DeleteOriginGroupRequest) SetOriginGroupId(v int64)

func (*DeleteOriginGroupRequest) String

func (x *DeleteOriginGroupRequest) String() string

type DeleteOriginMetadata

type DeleteOriginMetadata struct {

	// ID of the origin.
	OriginId int64 `protobuf:"varint,1,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOriginMetadata) Descriptor deprecated

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

Deprecated: Use DeleteOriginMetadata.ProtoReflect.Descriptor instead.

func (*DeleteOriginMetadata) GetOriginId

func (x *DeleteOriginMetadata) GetOriginId() int64

func (*DeleteOriginMetadata) ProtoMessage

func (*DeleteOriginMetadata) ProtoMessage()

func (*DeleteOriginMetadata) ProtoReflect

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

func (*DeleteOriginMetadata) Reset

func (x *DeleteOriginMetadata) Reset()

func (*DeleteOriginMetadata) SetOriginId

func (m *DeleteOriginMetadata) SetOriginId(v int64)

func (*DeleteOriginMetadata) String

func (x *DeleteOriginMetadata) String() string

type DeleteOriginRequest

type DeleteOriginRequest struct {

	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the origin.
	OriginId int64 `protobuf:"varint,2,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOriginRequest) Descriptor deprecated

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

Deprecated: Use DeleteOriginRequest.ProtoReflect.Descriptor instead.

func (*DeleteOriginRequest) GetFolderId

func (x *DeleteOriginRequest) GetFolderId() string

func (*DeleteOriginRequest) GetOriginId

func (x *DeleteOriginRequest) GetOriginId() int64

func (*DeleteOriginRequest) ProtoMessage

func (*DeleteOriginRequest) ProtoMessage()

func (*DeleteOriginRequest) ProtoReflect

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

func (*DeleteOriginRequest) Reset

func (x *DeleteOriginRequest) Reset()

func (*DeleteOriginRequest) SetFolderId

func (m *DeleteOriginRequest) SetFolderId(v string)

func (*DeleteOriginRequest) SetOriginId

func (m *DeleteOriginRequest) SetOriginId(v int64)

func (*DeleteOriginRequest) String

func (x *DeleteOriginRequest) String() string

type DeleteResourceMetadata

type DeleteResourceMetadata struct {

	// ID of deleted resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceMetadata) Descriptor deprecated

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

Deprecated: Use DeleteResourceMetadata.ProtoReflect.Descriptor instead.

func (*DeleteResourceMetadata) GetResourceId

func (x *DeleteResourceMetadata) GetResourceId() string

func (*DeleteResourceMetadata) ProtoMessage

func (*DeleteResourceMetadata) ProtoMessage()

func (*DeleteResourceMetadata) ProtoReflect

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

func (*DeleteResourceMetadata) Reset

func (x *DeleteResourceMetadata) Reset()

func (*DeleteResourceMetadata) SetResourceId

func (m *DeleteResourceMetadata) SetResourceId(v string)

func (*DeleteResourceMetadata) String

func (x *DeleteResourceMetadata) String() string

type DeleteResourceRequest

type DeleteResourceRequest struct {

	// ID of resource to delete.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetResourceId

func (x *DeleteResourceRequest) GetResourceId() string

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) SetResourceId

func (m *DeleteResourceRequest) SetResourceId(v string)

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

type DeleteResourceRuleMetadata

type DeleteResourceRuleMetadata struct {

	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of deleted resource rule.
	RuleId int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceRuleMetadata) Descriptor deprecated

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

Deprecated: Use DeleteResourceRuleMetadata.ProtoReflect.Descriptor instead.

func (*DeleteResourceRuleMetadata) GetResourceId

func (x *DeleteResourceRuleMetadata) GetResourceId() string

func (*DeleteResourceRuleMetadata) GetRuleId

func (x *DeleteResourceRuleMetadata) GetRuleId() int64

func (*DeleteResourceRuleMetadata) ProtoMessage

func (*DeleteResourceRuleMetadata) ProtoMessage()

func (*DeleteResourceRuleMetadata) ProtoReflect

func (*DeleteResourceRuleMetadata) Reset

func (x *DeleteResourceRuleMetadata) Reset()

func (*DeleteResourceRuleMetadata) SetResourceId

func (m *DeleteResourceRuleMetadata) SetResourceId(v string)

func (*DeleteResourceRuleMetadata) SetRuleId

func (m *DeleteResourceRuleMetadata) SetRuleId(v int64)

func (*DeleteResourceRuleMetadata) String

func (x *DeleteResourceRuleMetadata) String() string

type DeleteResourceRuleRequest

type DeleteResourceRuleRequest struct {

	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of deleted resource rule.
	RuleId int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResourceRuleRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRuleRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRuleRequest) GetResourceId

func (x *DeleteResourceRuleRequest) GetResourceId() string

func (*DeleteResourceRuleRequest) GetRuleId

func (x *DeleteResourceRuleRequest) GetRuleId() int64

func (*DeleteResourceRuleRequest) ProtoMessage

func (*DeleteResourceRuleRequest) ProtoMessage()

func (*DeleteResourceRuleRequest) ProtoReflect

func (*DeleteResourceRuleRequest) Reset

func (x *DeleteResourceRuleRequest) Reset()

func (*DeleteResourceRuleRequest) SetResourceId

func (m *DeleteResourceRuleRequest) SetResourceId(v string)

func (*DeleteResourceRuleRequest) SetRuleId

func (m *DeleteResourceRuleRequest) SetRuleId(v int64)

func (*DeleteResourceRuleRequest) String

func (x *DeleteResourceRuleRequest) String() string

type GetOriginGroupRequest

type GetOriginGroupRequest struct {

	// ID of the folder that the origin group belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the origin group to return.
	//
	// To get a origin group ID, make a [OriginGroupService.List] request.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOriginGroupRequest) Descriptor deprecated

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

Deprecated: Use GetOriginGroupRequest.ProtoReflect.Descriptor instead.

func (*GetOriginGroupRequest) GetFolderId

func (x *GetOriginGroupRequest) GetFolderId() string

func (*GetOriginGroupRequest) GetOriginGroupId

func (x *GetOriginGroupRequest) GetOriginGroupId() int64

func (*GetOriginGroupRequest) ProtoMessage

func (*GetOriginGroupRequest) ProtoMessage()

func (*GetOriginGroupRequest) ProtoReflect

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

func (*GetOriginGroupRequest) Reset

func (x *GetOriginGroupRequest) Reset()

func (*GetOriginGroupRequest) SetFolderId

func (m *GetOriginGroupRequest) SetFolderId(v string)

func (*GetOriginGroupRequest) SetOriginGroupId

func (m *GetOriginGroupRequest) SetOriginGroupId(v int64)

func (*GetOriginGroupRequest) String

func (x *GetOriginGroupRequest) String() string

type GetOriginRequest

type GetOriginRequest struct {

	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// [origin_id] group ID to request origin from.
	OriginId int64 `protobuf:"varint,2,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOriginRequest) Descriptor deprecated

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

Deprecated: Use GetOriginRequest.ProtoReflect.Descriptor instead.

func (*GetOriginRequest) GetFolderId

func (x *GetOriginRequest) GetFolderId() string

func (*GetOriginRequest) GetOriginId

func (x *GetOriginRequest) GetOriginId() int64

func (*GetOriginRequest) ProtoMessage

func (*GetOriginRequest) ProtoMessage()

func (*GetOriginRequest) ProtoReflect

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

func (*GetOriginRequest) Reset

func (x *GetOriginRequest) Reset()

func (*GetOriginRequest) SetFolderId

func (m *GetOriginRequest) SetFolderId(v string)

func (*GetOriginRequest) SetOriginId

func (m *GetOriginRequest) SetOriginId(v int64)

func (*GetOriginRequest) String

func (x *GetOriginRequest) String() string

type GetProviderCNameRequest

type GetProviderCNameRequest struct {

	// Folder ID to get provider's CNAME.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderCNameRequest) Descriptor deprecated

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

Deprecated: Use GetProviderCNameRequest.ProtoReflect.Descriptor instead.

func (*GetProviderCNameRequest) GetFolderId

func (x *GetProviderCNameRequest) GetFolderId() string

func (*GetProviderCNameRequest) ProtoMessage

func (*GetProviderCNameRequest) ProtoMessage()

func (*GetProviderCNameRequest) ProtoReflect

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

func (*GetProviderCNameRequest) Reset

func (x *GetProviderCNameRequest) Reset()

func (*GetProviderCNameRequest) SetFolderId

func (m *GetProviderCNameRequest) SetFolderId(v string)

func (*GetProviderCNameRequest) String

func (x *GetProviderCNameRequest) String() string

type GetProviderCNameResponse

type GetProviderCNameResponse struct {

	// Provider's CNAME.
	Cname string `protobuf:"bytes,1,opt,name=cname,proto3" json:"cname,omitempty"`
	// ID of the folder that the provider belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderCNameResponse) Descriptor deprecated

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

Deprecated: Use GetProviderCNameResponse.ProtoReflect.Descriptor instead.

func (*GetProviderCNameResponse) GetCname

func (x *GetProviderCNameResponse) GetCname() string

func (*GetProviderCNameResponse) GetFolderId

func (x *GetProviderCNameResponse) GetFolderId() string

func (*GetProviderCNameResponse) ProtoMessage

func (*GetProviderCNameResponse) ProtoMessage()

func (*GetProviderCNameResponse) ProtoReflect

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

func (*GetProviderCNameResponse) Reset

func (x *GetProviderCNameResponse) Reset()

func (*GetProviderCNameResponse) SetCname

func (m *GetProviderCNameResponse) SetCname(v string)

func (*GetProviderCNameResponse) SetFolderId

func (m *GetProviderCNameResponse) SetFolderId(v string)

func (*GetProviderCNameResponse) String

func (x *GetProviderCNameResponse) String() string

type GetRawLogsRequest

type GetRawLogsRequest struct {

	// ID of CDN resource to request status and settings.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRawLogsRequest) Descriptor deprecated

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

Deprecated: Use GetRawLogsRequest.ProtoReflect.Descriptor instead.

func (*GetRawLogsRequest) GetResourceId

func (x *GetRawLogsRequest) GetResourceId() string

func (*GetRawLogsRequest) ProtoMessage

func (*GetRawLogsRequest) ProtoMessage()

func (*GetRawLogsRequest) ProtoReflect

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

func (*GetRawLogsRequest) Reset

func (x *GetRawLogsRequest) Reset()

func (*GetRawLogsRequest) SetResourceId

func (m *GetRawLogsRequest) SetResourceId(v string)

func (*GetRawLogsRequest) String

func (x *GetRawLogsRequest) String() string

type GetRawLogsResponse

type GetRawLogsResponse struct {

	// Raw logs status.
	Status RawLogsStatus `protobuf:"varint,1,opt,name=status,proto3,enum=yandex.cloud.cdn.v1.RawLogsStatus" json:"status,omitempty"`
	// Raw logs settings.
	Settings *RawLogsSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRawLogsResponse) Descriptor deprecated

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

Deprecated: Use GetRawLogsResponse.ProtoReflect.Descriptor instead.

func (*GetRawLogsResponse) GetSettings

func (x *GetRawLogsResponse) GetSettings() *RawLogsSettings

func (*GetRawLogsResponse) GetStatus

func (x *GetRawLogsResponse) GetStatus() RawLogsStatus

func (*GetRawLogsResponse) ProtoMessage

func (*GetRawLogsResponse) ProtoMessage()

func (*GetRawLogsResponse) ProtoReflect

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

func (*GetRawLogsResponse) Reset

func (x *GetRawLogsResponse) Reset()

func (*GetRawLogsResponse) SetSettings

func (m *GetRawLogsResponse) SetSettings(v *RawLogsSettings)

func (*GetRawLogsResponse) SetStatus

func (m *GetRawLogsResponse) SetStatus(v RawLogsStatus)

func (*GetRawLogsResponse) String

func (x *GetRawLogsResponse) String() string

type GetResourceRequest

type GetResourceRequest struct {

	// ID of the requested resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

A request to get a resource.

func (*GetResourceRequest) Descriptor deprecated

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

Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRequest) GetResourceId

func (x *GetResourceRequest) GetResourceId() string

func (*GetResourceRequest) ProtoMessage

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) ProtoReflect

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

func (*GetResourceRequest) Reset

func (x *GetResourceRequest) Reset()

func (*GetResourceRequest) SetResourceId

func (m *GetResourceRequest) SetResourceId(v string)

func (*GetResourceRequest) String

func (x *GetResourceRequest) String() string

type GetResourceRuleRequest

type GetResourceRuleRequest struct {

	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of the requested resource rule.
	RuleId int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourceRuleRequest) Descriptor deprecated

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

Deprecated: Use GetResourceRuleRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRuleRequest) GetResourceId

func (x *GetResourceRuleRequest) GetResourceId() string

func (*GetResourceRuleRequest) GetRuleId

func (x *GetResourceRuleRequest) GetRuleId() int64

func (*GetResourceRuleRequest) ProtoMessage

func (*GetResourceRuleRequest) ProtoMessage()

func (*GetResourceRuleRequest) ProtoReflect

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

func (*GetResourceRuleRequest) Reset

func (x *GetResourceRuleRequest) Reset()

func (*GetResourceRuleRequest) SetResourceId

func (m *GetResourceRuleRequest) SetResourceId(v string)

func (*GetResourceRuleRequest) SetRuleId

func (m *GetResourceRuleRequest) SetRuleId(v int64)

func (*GetResourceRuleRequest) String

func (x *GetResourceRuleRequest) String() string

type ListActivatedProvidersRequest

type ListActivatedProvidersRequest struct {

	// ID of the folder that the activate provider belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivatedProvidersRequest) Descriptor deprecated

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

Deprecated: Use ListActivatedProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListActivatedProvidersRequest) GetFolderId

func (x *ListActivatedProvidersRequest) GetFolderId() string

func (*ListActivatedProvidersRequest) ProtoMessage

func (*ListActivatedProvidersRequest) ProtoMessage()

func (*ListActivatedProvidersRequest) ProtoReflect

func (*ListActivatedProvidersRequest) Reset

func (x *ListActivatedProvidersRequest) Reset()

func (*ListActivatedProvidersRequest) SetFolderId

func (m *ListActivatedProvidersRequest) SetFolderId(v string)

func (*ListActivatedProvidersRequest) String

type ListActivatedProvidersResponse

type ListActivatedProvidersResponse struct {

	// Creates a list of providers.
	Providers []string `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActivatedProvidersResponse) Descriptor deprecated

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

Deprecated: Use ListActivatedProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListActivatedProvidersResponse) GetProviders

func (x *ListActivatedProvidersResponse) GetProviders() []string

func (*ListActivatedProvidersResponse) ProtoMessage

func (*ListActivatedProvidersResponse) ProtoMessage()

func (*ListActivatedProvidersResponse) ProtoReflect

func (*ListActivatedProvidersResponse) Reset

func (x *ListActivatedProvidersResponse) Reset()

func (*ListActivatedProvidersResponse) SetProviders

func (m *ListActivatedProvidersResponse) SetProviders(v []string)

func (*ListActivatedProvidersResponse) String

type ListOriginGroupsRequest

type ListOriginGroupsRequest struct {

	// ID of the folder that the origin group belongs to..
	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 [ListOriginGroupsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	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 [ListOriginGroupsResponse.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 (*ListOriginGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListOriginGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListOriginGroupsRequest) GetFolderId

func (x *ListOriginGroupsRequest) GetFolderId() string

func (*ListOriginGroupsRequest) GetPageSize

func (x *ListOriginGroupsRequest) GetPageSize() int64

func (*ListOriginGroupsRequest) GetPageToken

func (x *ListOriginGroupsRequest) GetPageToken() string

func (*ListOriginGroupsRequest) ProtoMessage

func (*ListOriginGroupsRequest) ProtoMessage()

func (*ListOriginGroupsRequest) ProtoReflect

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

func (*ListOriginGroupsRequest) Reset

func (x *ListOriginGroupsRequest) Reset()

func (*ListOriginGroupsRequest) SetFolderId

func (m *ListOriginGroupsRequest) SetFolderId(v string)

func (*ListOriginGroupsRequest) SetPageSize

func (m *ListOriginGroupsRequest) SetPageSize(v int64)

func (*ListOriginGroupsRequest) SetPageToken

func (m *ListOriginGroupsRequest) SetPageToken(v string)

func (*ListOriginGroupsRequest) String

func (x *ListOriginGroupsRequest) String() string

type ListOriginGroupsResponse

type ListOriginGroupsResponse struct {

	// List of all Origin Groups associated with folder.
	OriginGroups []*OriginGroup `protobuf:"bytes,1,rep,name=origin_groups,json=originGroups,proto3" json:"origin_groups,omitempty"`
	// [next_page_token] token allows you to get the next page of results for list requests.
	// If the number of results is larger than [ListOriginGroupsRequest.page_size], use
	// the [next_page_token] as the value for the [ListOriginGroupsRequest.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 (*ListOriginGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListOriginGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListOriginGroupsResponse) GetNextPageToken

func (x *ListOriginGroupsResponse) GetNextPageToken() string

func (*ListOriginGroupsResponse) GetOriginGroups

func (x *ListOriginGroupsResponse) GetOriginGroups() []*OriginGroup

func (*ListOriginGroupsResponse) ProtoMessage

func (*ListOriginGroupsResponse) ProtoMessage()

func (*ListOriginGroupsResponse) ProtoReflect

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

func (*ListOriginGroupsResponse) Reset

func (x *ListOriginGroupsResponse) Reset()

func (*ListOriginGroupsResponse) SetNextPageToken

func (m *ListOriginGroupsResponse) SetNextPageToken(v string)

func (*ListOriginGroupsResponse) SetOriginGroups

func (m *ListOriginGroupsResponse) SetOriginGroups(v []*OriginGroup)

func (*ListOriginGroupsResponse) String

func (x *ListOriginGroupsResponse) String() string

type ListOriginsRequest

type ListOriginsRequest struct {

	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the group to request origins from.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOriginsRequest) Descriptor deprecated

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

Deprecated: Use ListOriginsRequest.ProtoReflect.Descriptor instead.

func (*ListOriginsRequest) GetFolderId

func (x *ListOriginsRequest) GetFolderId() string

func (*ListOriginsRequest) GetOriginGroupId

func (x *ListOriginsRequest) GetOriginGroupId() int64

func (*ListOriginsRequest) ProtoMessage

func (*ListOriginsRequest) ProtoMessage()

func (*ListOriginsRequest) ProtoReflect

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

func (*ListOriginsRequest) Reset

func (x *ListOriginsRequest) Reset()

func (*ListOriginsRequest) SetFolderId

func (m *ListOriginsRequest) SetFolderId(v string)

func (*ListOriginsRequest) SetOriginGroupId

func (m *ListOriginsRequest) SetOriginGroupId(v int64)

func (*ListOriginsRequest) String

func (x *ListOriginsRequest) String() string

type ListOriginsResponse

type ListOriginsResponse struct {

	// Origin from response.
	Origins []*Origin `protobuf:"bytes,1,rep,name=origins,proto3" json:"origins,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOriginsResponse) Descriptor deprecated

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

Deprecated: Use ListOriginsResponse.ProtoReflect.Descriptor instead.

func (*ListOriginsResponse) GetOrigins

func (x *ListOriginsResponse) GetOrigins() []*Origin

func (*ListOriginsResponse) ProtoMessage

func (*ListOriginsResponse) ProtoMessage()

func (*ListOriginsResponse) ProtoReflect

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

func (*ListOriginsResponse) Reset

func (x *ListOriginsResponse) Reset()

func (*ListOriginsResponse) SetOrigins

func (m *ListOriginsResponse) SetOrigins(v []*Origin)

func (*ListOriginsResponse) String

func (x *ListOriginsResponse) String() string

type ListResourceRulesRequest

type ListResourceRulesRequest struct {

	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourceRulesRequest) Descriptor deprecated

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

Deprecated: Use ListResourceRulesRequest.ProtoReflect.Descriptor instead.

func (*ListResourceRulesRequest) GetResourceId

func (x *ListResourceRulesRequest) GetResourceId() string

func (*ListResourceRulesRequest) ProtoMessage

func (*ListResourceRulesRequest) ProtoMessage()

func (*ListResourceRulesRequest) ProtoReflect

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

func (*ListResourceRulesRequest) Reset

func (x *ListResourceRulesRequest) Reset()

func (*ListResourceRulesRequest) SetResourceId

func (m *ListResourceRulesRequest) SetResourceId(v string)

func (*ListResourceRulesRequest) String

func (x *ListResourceRulesRequest) String() string

type ListResourceRulesResponse

type ListResourceRulesResponse struct {

	// List of the resource rules.
	Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourceRulesResponse) Descriptor deprecated

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

Deprecated: Use ListResourceRulesResponse.ProtoReflect.Descriptor instead.

func (*ListResourceRulesResponse) GetRules

func (x *ListResourceRulesResponse) GetRules() []*Rule

func (*ListResourceRulesResponse) ProtoMessage

func (*ListResourceRulesResponse) ProtoMessage()

func (*ListResourceRulesResponse) ProtoReflect

func (*ListResourceRulesResponse) Reset

func (x *ListResourceRulesResponse) Reset()

func (*ListResourceRulesResponse) SetRules

func (m *ListResourceRulesResponse) SetRules(v []*Rule)

func (*ListResourceRulesResponse) String

func (x *ListResourceRulesResponse) String() string

type ListResourcesRequest

type ListResourcesRequest struct {

	// ID of the folder to request listing for.
	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 [ListResourcesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	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 [ListResourcesResponse.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 (*ListResourcesRequest) Descriptor deprecated

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

Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListResourcesRequest) GetFolderId

func (x *ListResourcesRequest) GetFolderId() string

func (*ListResourcesRequest) GetPageSize

func (x *ListResourcesRequest) GetPageSize() int64

func (*ListResourcesRequest) GetPageToken

func (x *ListResourcesRequest) GetPageToken() string

func (*ListResourcesRequest) ProtoMessage

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) ProtoReflect

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

func (*ListResourcesRequest) Reset

func (x *ListResourcesRequest) Reset()

func (*ListResourcesRequest) SetFolderId

func (m *ListResourcesRequest) SetFolderId(v string)

func (*ListResourcesRequest) SetPageSize

func (m *ListResourcesRequest) SetPageSize(v int64)

func (*ListResourcesRequest) SetPageToken

func (m *ListResourcesRequest) SetPageToken(v string)

func (*ListResourcesRequest) String

func (x *ListResourcesRequest) String() string

type ListResourcesResponse

type ListResourcesResponse struct {

	// List of the resources
	Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	// [next_page_token] token allows you to get the next page of results for list requests.
	// If the number of results is larger than [ListResourcesRequest.page_size], use
	// the [next_page_token] as the value for the [ListResourcesRequest.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 (*ListResourcesResponse) Descriptor deprecated

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

Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetNextPageToken

func (x *ListResourcesResponse) GetNextPageToken() string

func (*ListResourcesResponse) GetResources

func (x *ListResourcesResponse) GetResources() []*Resource

func (*ListResourcesResponse) ProtoMessage

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect

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

func (*ListResourcesResponse) Reset

func (x *ListResourcesResponse) Reset()

func (*ListResourcesResponse) SetNextPageToken

func (m *ListResourcesResponse) SetNextPageToken(v string)

func (*ListResourcesResponse) SetResources

func (m *ListResourcesResponse) SetResources(v []*Resource)

func (*ListResourcesResponse) String

func (x *ListResourcesResponse) String() string

type Origin

type Origin struct {

	// ID of the origin.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the parent origin group.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// IP address or Domain name of your origin and the port (if custom).
	// Used if [meta] variant is `common`.
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// The setting allows to enable or disable an Origin source in the Origins group.
	//
	// It has two possible values:
	//
	// True - The origin is enabled and used as a source for the CDN. An origins
	// group must contain at least one enabled origin.
	// False - The origin is disabled and the CDN is not using it to pull content.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Specifies whether the origin is used in its origin group as backup.
	// A backup origin is used when one of active origins becomes unavailable.
	Backup bool `protobuf:"varint,5,opt,name=backup,proto3" json:"backup,omitempty"`
	// Set up origin of the content.
	Meta *OriginMeta `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

An origin. For details about the concept, see [documentation](/docs/cdn/concepts/origins).

func (*Origin) Descriptor deprecated

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

Deprecated: Use Origin.ProtoReflect.Descriptor instead.

func (*Origin) GetBackup

func (x *Origin) GetBackup() bool

func (*Origin) GetEnabled

func (x *Origin) GetEnabled() bool

func (*Origin) GetId

func (x *Origin) GetId() int64

func (*Origin) GetMeta

func (x *Origin) GetMeta() *OriginMeta

func (*Origin) GetOriginGroupId

func (x *Origin) GetOriginGroupId() int64

func (*Origin) GetSource

func (x *Origin) GetSource() string

func (*Origin) ProtoMessage

func (*Origin) ProtoMessage()

func (*Origin) ProtoReflect

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

func (*Origin) Reset

func (x *Origin) Reset()

func (*Origin) SetBackup

func (m *Origin) SetBackup(v bool)

func (*Origin) SetEnabled

func (m *Origin) SetEnabled(v bool)

func (*Origin) SetId

func (m *Origin) SetId(v int64)

func (*Origin) SetMeta

func (m *Origin) SetMeta(v *OriginMeta)

func (*Origin) SetOriginGroupId

func (m *Origin) SetOriginGroupId(v int64)

func (*Origin) SetSource

func (m *Origin) SetSource(v string)

func (*Origin) String

func (x *Origin) String() string

type OriginBalancerMeta

type OriginBalancerMeta struct {

	// ID of the origin.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Application Load Balancer origin info. For details about the concept, see [documentation](/docs/cdn/concepts/origins).

func (*OriginBalancerMeta) Descriptor deprecated

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

Deprecated: Use OriginBalancerMeta.ProtoReflect.Descriptor instead.

func (*OriginBalancerMeta) GetId

func (x *OriginBalancerMeta) GetId() string

func (*OriginBalancerMeta) ProtoMessage

func (*OriginBalancerMeta) ProtoMessage()

func (*OriginBalancerMeta) ProtoReflect

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

func (*OriginBalancerMeta) Reset

func (x *OriginBalancerMeta) Reset()

func (*OriginBalancerMeta) SetId

func (m *OriginBalancerMeta) SetId(v string)

func (*OriginBalancerMeta) String

func (x *OriginBalancerMeta) String() string

type OriginGroup

type OriginGroup struct {

	// ID of the origin group. Generated at creation time.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the origin group belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the origin group.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// This option have two possible conditions:
	// true - the option is active. In case the origin responds with 4XX or 5XX codes,
	//
	//	use the next origin from the list.
	//
	// false - the option is disabled.
	UseNext bool `protobuf:"varint,4,opt,name=use_next,json=useNext,proto3" json:"use_next,omitempty"`
	// List of origins.
	Origins []*Origin `protobuf:"bytes,5,rep,name=origins,proto3" json:"origins,omitempty"`
	// contains filtered or unexported fields
}

Origin group parameters. For details about the concept, see [documentation](/docs/cdn/concepts/origins#groups).

func (*OriginGroup) Descriptor deprecated

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

Deprecated: Use OriginGroup.ProtoReflect.Descriptor instead.

func (*OriginGroup) GetFolderId

func (x *OriginGroup) GetFolderId() string

func (*OriginGroup) GetId

func (x *OriginGroup) GetId() int64

func (*OriginGroup) GetName

func (x *OriginGroup) GetName() string

func (*OriginGroup) GetOrigins

func (x *OriginGroup) GetOrigins() []*Origin

func (*OriginGroup) GetUseNext

func (x *OriginGroup) GetUseNext() bool

func (*OriginGroup) ProtoMessage

func (*OriginGroup) ProtoMessage()

func (*OriginGroup) ProtoReflect

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

func (*OriginGroup) Reset

func (x *OriginGroup) Reset()

func (*OriginGroup) SetFolderId

func (m *OriginGroup) SetFolderId(v string)

func (*OriginGroup) SetId

func (m *OriginGroup) SetId(v int64)

func (*OriginGroup) SetName

func (m *OriginGroup) SetName(v string)

func (*OriginGroup) SetOrigins

func (m *OriginGroup) SetOrigins(v []*Origin)

func (*OriginGroup) SetUseNext

func (m *OriginGroup) SetUseNext(v bool)

func (*OriginGroup) String

func (x *OriginGroup) String() string

type OriginGroupServiceClient

type OriginGroupServiceClient interface {
	// Gets origin group with specified origin group id.
	Get(ctx context.Context, in *GetOriginGroupRequest, opts ...grpc.CallOption) (*OriginGroup, error)
	// Lists origins of origin group.
	List(ctx context.Context, in *ListOriginGroupsRequest, opts ...grpc.CallOption) (*ListOriginGroupsResponse, error)
	// Creates origin group.
	Create(ctx context.Context, in *CreateOriginGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified origin group.
	//
	// Changes may take up to 15 minutes to apply. Afterwards, it is recommended to purge cache of the resources that
	// use the origin group via a [CacheService.Purge] request.
	Update(ctx context.Context, in *UpdateOriginGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes origin group with specified origin group id.
	Delete(ctx context.Context, in *DeleteOriginGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

OriginGroupServiceClient is the client API for OriginGroupService 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.

type OriginGroupServiceServer

type OriginGroupServiceServer interface {
	// Gets origin group with specified origin group id.
	Get(context.Context, *GetOriginGroupRequest) (*OriginGroup, error)
	// Lists origins of origin group.
	List(context.Context, *ListOriginGroupsRequest) (*ListOriginGroupsResponse, error)
	// Creates origin group.
	Create(context.Context, *CreateOriginGroupRequest) (*operation.Operation, error)
	// Updates the specified origin group.
	//
	// Changes may take up to 15 minutes to apply. Afterwards, it is recommended to purge cache of the resources that
	// use the origin group via a [CacheService.Purge] request.
	Update(context.Context, *UpdateOriginGroupRequest) (*operation.Operation, error)
	// Deletes origin group with specified origin group id.
	Delete(context.Context, *DeleteOriginGroupRequest) (*operation.Operation, error)
}

OriginGroupServiceServer is the server API for OriginGroupService service. All implementations should embed UnimplementedOriginGroupServiceServer for forward compatibility

type OriginMeta

type OriginMeta struct {

	// Type of the origin.
	//
	// Types that are assignable to OriginMetaVariant:
	//
	//	*OriginMeta_Common
	//	*OriginMeta_Bucket
	//	*OriginMeta_Website
	//	*OriginMeta_Balancer
	OriginMetaVariant isOriginMeta_OriginMetaVariant `protobuf_oneof:"origin_meta_variant"`
	// contains filtered or unexported fields
}

Origin type. For details about the concept, see [documentation](/docs/cdn/concepts/origins).

func (*OriginMeta) Descriptor deprecated

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

Deprecated: Use OriginMeta.ProtoReflect.Descriptor instead.

func (*OriginMeta) GetBalancer

func (x *OriginMeta) GetBalancer() *OriginBalancerMeta

func (*OriginMeta) GetBucket

func (x *OriginMeta) GetBucket() *OriginNamedMeta

func (*OriginMeta) GetCommon

func (x *OriginMeta) GetCommon() *OriginNamedMeta

func (*OriginMeta) GetOriginMetaVariant

func (m *OriginMeta) GetOriginMetaVariant() isOriginMeta_OriginMetaVariant

func (*OriginMeta) GetWebsite

func (x *OriginMeta) GetWebsite() *OriginNamedMeta

func (*OriginMeta) ProtoMessage

func (*OriginMeta) ProtoMessage()

func (*OriginMeta) ProtoReflect

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

func (*OriginMeta) Reset

func (x *OriginMeta) Reset()

func (*OriginMeta) SetBalancer

func (m *OriginMeta) SetBalancer(v *OriginBalancerMeta)

func (*OriginMeta) SetBucket

func (m *OriginMeta) SetBucket(v *OriginNamedMeta)

func (*OriginMeta) SetCommon

func (m *OriginMeta) SetCommon(v *OriginNamedMeta)

func (*OriginMeta) SetOriginMetaVariant

func (m *OriginMeta) SetOriginMetaVariant(v OriginMeta_OriginMetaVariant)

func (*OriginMeta) SetWebsite

func (m *OriginMeta) SetWebsite(v *OriginNamedMeta)

func (*OriginMeta) String

func (x *OriginMeta) String() string

type OriginMeta_Balancer

type OriginMeta_Balancer struct {
	// An L7 load balancer from Application Load Balancer.
	// CDN servers will access the load balancer at one of its IP addresses that must be selected in the origin settings.
	Balancer *OriginBalancerMeta `protobuf:"bytes,4,opt,name=balancer,proto3,oneof"`
}

type OriginMeta_Bucket

type OriginMeta_Bucket struct {
	// An Object Storage bucket not configured as a static site hosting.
	Bucket *OriginNamedMeta `protobuf:"bytes,2,opt,name=bucket,proto3,oneof"`
}

type OriginMeta_Common

type OriginMeta_Common struct {
	// A server with a domain name linked to it
	Common *OriginNamedMeta `protobuf:"bytes,1,opt,name=common,proto3,oneof"`
}

type OriginMeta_OriginMetaVariant

type OriginMeta_OriginMetaVariant = isOriginMeta_OriginMetaVariant

type OriginMeta_Website

type OriginMeta_Website struct {
	// An Object Storage bucket configured as a static site hosting.
	Website *OriginNamedMeta `protobuf:"bytes,3,opt,name=website,proto3,oneof"`
}

type OriginNamedMeta

type OriginNamedMeta struct {

	// Name of the origin.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Origin info. For details about the concept, see [documentation](/docs/cdn/concepts/origins).

func (*OriginNamedMeta) Descriptor deprecated

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

Deprecated: Use OriginNamedMeta.ProtoReflect.Descriptor instead.

func (*OriginNamedMeta) GetName

func (x *OriginNamedMeta) GetName() string

func (*OriginNamedMeta) ProtoMessage

func (*OriginNamedMeta) ProtoMessage()

func (*OriginNamedMeta) ProtoReflect

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

func (*OriginNamedMeta) Reset

func (x *OriginNamedMeta) Reset()

func (*OriginNamedMeta) SetName

func (m *OriginNamedMeta) SetName(v string)

func (*OriginNamedMeta) String

func (x *OriginNamedMeta) String() string

type OriginParams

type OriginParams struct {

	// Source: IP address or Domain name of your origin and the port (if custom).
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// The setting allows to enable or disable an Origin source in the Origins group.
	//
	// It has two possible values:
	//
	// True - The origin is enabled and used as a source for the CDN. An origins
	// group must contain at least one enabled origins. False - The origin is disabled
	// and the CDN is not using it to pull content.
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// backup option has two possible values:
	//
	//	True - The option is active. The origin will not be used until one of
	//	       active origins become unavailable.
	//	False - The option is disabled.
	Backup bool `protobuf:"varint,3,opt,name=backup,proto3" json:"backup,omitempty"`
	// Set up origin of the content.
	Meta *OriginMeta `protobuf:"bytes,4,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

Origin parameters. For details about the concept, see [documentation](/docs/cdn/concepts/origins).

func (*OriginParams) Descriptor deprecated

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

Deprecated: Use OriginParams.ProtoReflect.Descriptor instead.

func (*OriginParams) GetBackup

func (x *OriginParams) GetBackup() bool

func (*OriginParams) GetEnabled

func (x *OriginParams) GetEnabled() bool

func (*OriginParams) GetMeta

func (x *OriginParams) GetMeta() *OriginMeta

func (*OriginParams) GetSource

func (x *OriginParams) GetSource() string

func (*OriginParams) ProtoMessage

func (*OriginParams) ProtoMessage()

func (*OriginParams) ProtoReflect

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

func (*OriginParams) Reset

func (x *OriginParams) Reset()

func (*OriginParams) SetBackup

func (m *OriginParams) SetBackup(v bool)

func (*OriginParams) SetEnabled

func (m *OriginParams) SetEnabled(v bool)

func (*OriginParams) SetMeta

func (m *OriginParams) SetMeta(v *OriginMeta)

func (*OriginParams) SetSource

func (m *OriginParams) SetSource(v string)

func (*OriginParams) String

func (x *OriginParams) String() string

type OriginProtocol

type OriginProtocol int32

This option defines the protocol that will be used by CDN servers to request content from an origin source. If not specified, we will use HTTP to connect to an origin server.

const (
	OriginProtocol_ORIGIN_PROTOCOL_UNSPECIFIED OriginProtocol = 0
	// CDN servers will connect to your origin via HTTP.
	OriginProtocol_HTTP OriginProtocol = 1
	// CDN servers will connect to your origin via HTTPS.
	OriginProtocol_HTTPS OriginProtocol = 2
	// Connection protocol will be chosen automatically (content on the
	// origin source should be available for the CDN both through HTTP and HTTPS).
	OriginProtocol_MATCH OriginProtocol = 3
)

func (OriginProtocol) Descriptor

func (OriginProtocol) Enum

func (x OriginProtocol) Enum() *OriginProtocol

func (OriginProtocol) EnumDescriptor deprecated

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

Deprecated: Use OriginProtocol.Descriptor instead.

func (OriginProtocol) Number

func (OriginProtocol) String

func (x OriginProtocol) String() string

func (OriginProtocol) Type

type OriginServiceClient

type OriginServiceClient interface {
	// Get origin in origin group.
	Get(ctx context.Context, in *GetOriginRequest, opts ...grpc.CallOption) (*Origin, error)
	// Lists origins of origin group.
	List(ctx context.Context, in *ListOriginsRequest, opts ...grpc.CallOption) (*ListOriginsResponse, error)
	// Creates origin inside origin group.
	Create(ctx context.Context, in *CreateOriginRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified origin from the origin group.
	//
	// Changes may take up to 15 minutes to apply. Afterwards, it is recommended to purge cache of the resources that
	// use the origin via a [CacheService.Purge] request.
	Update(ctx context.Context, in *UpdateOriginRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes origin from origin group.
	Delete(ctx context.Context, in *DeleteOriginRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

OriginServiceClient is the client API for OriginService 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.

type OriginServiceServer

type OriginServiceServer interface {
	// Get origin in origin group.
	Get(context.Context, *GetOriginRequest) (*Origin, error)
	// Lists origins of origin group.
	List(context.Context, *ListOriginsRequest) (*ListOriginsResponse, error)
	// Creates origin inside origin group.
	Create(context.Context, *CreateOriginRequest) (*operation.Operation, error)
	// Updates the specified origin from the origin group.
	//
	// Changes may take up to 15 minutes to apply. Afterwards, it is recommended to purge cache of the resources that
	// use the origin via a [CacheService.Purge] request.
	Update(context.Context, *UpdateOriginRequest) (*operation.Operation, error)
	// Deletes origin from origin group.
	Delete(context.Context, *DeleteOriginRequest) (*operation.Operation, error)
}

OriginServiceServer is the server API for OriginService service. All implementations should embed UnimplementedOriginServiceServer for forward compatibility

type PolicyType

type PolicyType int32

PolicyType defines type of the policy in IP address acl rules.

const (
	PolicyType_POLICY_TYPE_UNSPECIFIED PolicyType = 0
	// Allow access to all IP addresses except the ones specified in the excepted_values field.
	PolicyType_POLICY_TYPE_ALLOW PolicyType = 1
	// Block access to all IP addresses except the ones specified in the excepted_values field.
	PolicyType_POLICY_TYPE_DENY PolicyType = 2
)

func (PolicyType) Descriptor

func (PolicyType) Descriptor() protoreflect.EnumDescriptor

func (PolicyType) Enum

func (x PolicyType) Enum() *PolicyType

func (PolicyType) EnumDescriptor deprecated

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

Deprecated: Use PolicyType.Descriptor instead.

func (PolicyType) Number

func (x PolicyType) Number() protoreflect.EnumNumber

func (PolicyType) String

func (x PolicyType) String() string

func (PolicyType) Type

type PrefetchCacheMetadata

type PrefetchCacheMetadata struct {

	// ID of the resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PrefetchCacheMetadata) Descriptor deprecated

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

Deprecated: Use PrefetchCacheMetadata.ProtoReflect.Descriptor instead.

func (*PrefetchCacheMetadata) GetResourceId

func (x *PrefetchCacheMetadata) GetResourceId() string

func (*PrefetchCacheMetadata) ProtoMessage

func (*PrefetchCacheMetadata) ProtoMessage()

func (*PrefetchCacheMetadata) ProtoReflect

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

func (*PrefetchCacheMetadata) Reset

func (x *PrefetchCacheMetadata) Reset()

func (*PrefetchCacheMetadata) SetResourceId

func (m *PrefetchCacheMetadata) SetResourceId(v string)

func (*PrefetchCacheMetadata) String

func (x *PrefetchCacheMetadata) String() string

type PrefetchCacheRequest

type PrefetchCacheRequest struct {

	// ID of the resource to perform prefetch operation on.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Set of paths to prefetch.
	Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*PrefetchCacheRequest) Descriptor deprecated

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

Deprecated: Use PrefetchCacheRequest.ProtoReflect.Descriptor instead.

func (*PrefetchCacheRequest) GetPaths

func (x *PrefetchCacheRequest) GetPaths() []string

func (*PrefetchCacheRequest) GetResourceId

func (x *PrefetchCacheRequest) GetResourceId() string

func (*PrefetchCacheRequest) ProtoMessage

func (*PrefetchCacheRequest) ProtoMessage()

func (*PrefetchCacheRequest) ProtoReflect

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

func (*PrefetchCacheRequest) Reset

func (x *PrefetchCacheRequest) Reset()

func (*PrefetchCacheRequest) SetPaths

func (m *PrefetchCacheRequest) SetPaths(v []string)

func (*PrefetchCacheRequest) SetResourceId

func (m *PrefetchCacheRequest) SetResourceId(v string)

func (*PrefetchCacheRequest) String

func (x *PrefetchCacheRequest) String() string

type ProviderServiceClient

type ProviderServiceClient interface {
	// Activate provider for specified client.
	Activate(ctx context.Context, in *ActivateProviderRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// List activated providers for specified client.
	ListActivated(ctx context.Context, in *ListActivatedProvidersRequest, opts ...grpc.CallOption) (*ListActivatedProvidersResponse, error)
}

ProviderServiceClient is the client API for ProviderService 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.

type ProviderServiceServer

type ProviderServiceServer interface {
	// Activate provider for specified client.
	Activate(context.Context, *ActivateProviderRequest) (*operation.Operation, error)
	// List activated providers for specified client.
	ListActivated(context.Context, *ListActivatedProvidersRequest) (*ListActivatedProvidersResponse, error)
}

ProviderServiceServer is the server API for ProviderService service. All implementations should embed UnimplementedProviderServiceServer for forward compatibility

type PurgeCacheMetadata

type PurgeCacheMetadata struct {

	// ID of the resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PurgeCacheMetadata) Descriptor deprecated

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

Deprecated: Use PurgeCacheMetadata.ProtoReflect.Descriptor instead.

func (*PurgeCacheMetadata) GetResourceId

func (x *PurgeCacheMetadata) GetResourceId() string

func (*PurgeCacheMetadata) ProtoMessage

func (*PurgeCacheMetadata) ProtoMessage()

func (*PurgeCacheMetadata) ProtoReflect

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

func (*PurgeCacheMetadata) Reset

func (x *PurgeCacheMetadata) Reset()

func (*PurgeCacheMetadata) SetResourceId

func (m *PurgeCacheMetadata) SetResourceId(v string)

func (*PurgeCacheMetadata) String

func (x *PurgeCacheMetadata) String() string

type PurgeCacheRequest

type PurgeCacheRequest struct {

	// ID of the resource to perform purge operation on.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Set of paths:
	// Paths of the files to remove from the cache.
	//
	// You may use asterisk (`*`) as a wildcard character that substitutes any number of characters.
	//
	// If an empty array of paths is specified, the cache is purged entirely.
	Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*PurgeCacheRequest) Descriptor deprecated

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

Deprecated: Use PurgeCacheRequest.ProtoReflect.Descriptor instead.

func (*PurgeCacheRequest) GetPaths

func (x *PurgeCacheRequest) GetPaths() []string

func (*PurgeCacheRequest) GetResourceId

func (x *PurgeCacheRequest) GetResourceId() string

func (*PurgeCacheRequest) ProtoMessage

func (*PurgeCacheRequest) ProtoMessage()

func (*PurgeCacheRequest) ProtoReflect

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

func (*PurgeCacheRequest) Reset

func (x *PurgeCacheRequest) Reset()

func (*PurgeCacheRequest) SetPaths

func (m *PurgeCacheRequest) SetPaths(v []string)

func (*PurgeCacheRequest) SetResourceId

func (m *PurgeCacheRequest) SetResourceId(v string)

func (*PurgeCacheRequest) String

func (x *PurgeCacheRequest) String() string

type RawLogsServiceClient

type RawLogsServiceClient interface {
	Activate(ctx context.Context, in *ActivateRawLogsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	Deactivate(ctx context.Context, in *DeactivateRawLogsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	Get(ctx context.Context, in *GetRawLogsRequest, opts ...grpc.CallOption) (*GetRawLogsResponse, error)
	Update(ctx context.Context, in *UpdateRawLogsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

RawLogsServiceClient is the client API for RawLogsService 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.

type RawLogsServiceServer

RawLogsServiceServer is the server API for RawLogsService service. All implementations should embed UnimplementedRawLogsServiceServer for forward compatibility

type RawLogsSettings

type RawLogsSettings struct {

	// Destination S3 bucket name, note that the suer should be owner of the bucket.
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// Bucket region, unused for now, could be blank.
	BucketRegion string `protobuf:"bytes,2,opt,name=bucket_region,json=bucketRegion,proto3" json:"bucket_region,omitempty"`
	// file_prefix: prefix each log object name with specified prefix.
	//
	// The prefix makes it simpler for you to locate the log objects.
	// For example, if you specify the prefix value logs/, each log object that
	// S3 creates begins with the logs/ prefix in its key, so pseudo S3 folders
	// could be setup.
	FilePrefix string `protobuf:"bytes,3,opt,name=file_prefix,json=filePrefix,proto3" json:"file_prefix,omitempty"`
	// contains filtered or unexported fields
}

User settings for Raw logs.

func (*RawLogsSettings) Descriptor deprecated

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

Deprecated: Use RawLogsSettings.ProtoReflect.Descriptor instead.

func (*RawLogsSettings) GetBucketName

func (x *RawLogsSettings) GetBucketName() string

func (*RawLogsSettings) GetBucketRegion

func (x *RawLogsSettings) GetBucketRegion() string

func (*RawLogsSettings) GetFilePrefix

func (x *RawLogsSettings) GetFilePrefix() string

func (*RawLogsSettings) ProtoMessage

func (*RawLogsSettings) ProtoMessage()

func (*RawLogsSettings) ProtoReflect

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

func (*RawLogsSettings) Reset

func (x *RawLogsSettings) Reset()

func (*RawLogsSettings) SetBucketName

func (m *RawLogsSettings) SetBucketName(v string)

func (*RawLogsSettings) SetBucketRegion

func (m *RawLogsSettings) SetBucketRegion(v string)

func (*RawLogsSettings) SetFilePrefix

func (m *RawLogsSettings) SetFilePrefix(v string)

func (*RawLogsSettings) String

func (x *RawLogsSettings) String() string

type RawLogsStatus

type RawLogsStatus int32

Provider side statuses of Raw logs processing.

const (
	RawLogsStatus_RAW_LOGS_STATUS_UNSPECIFIED RawLogsStatus = 0
	// Raw logs wasn't activated.
	RawLogsStatus_RAW_LOGS_STATUS_NOT_ACTIVATED RawLogsStatus = 1
	// Raw logs was activated, and logs storing process works as expected.
	RawLogsStatus_RAW_LOGS_STATUS_OK RawLogsStatus = 2
	// Raw logs was activated, but CDN provider has been failed to store logs.
	RawLogsStatus_RAW_LOGS_STATUS_FAILED RawLogsStatus = 3
	// Raw logs was activated, but logs storing process is expected.
	RawLogsStatus_RAW_LOGS_STATUS_PENDING RawLogsStatus = 4
)

func (RawLogsStatus) Descriptor

func (RawLogsStatus) Enum

func (x RawLogsStatus) Enum() *RawLogsStatus

func (RawLogsStatus) EnumDescriptor deprecated

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

Deprecated: Use RawLogsStatus.Descriptor instead.

func (RawLogsStatus) Number

func (RawLogsStatus) String

func (x RawLogsStatus) String() string

func (RawLogsStatus) Type

type Resource

type Resource struct {

	// ID of the resource.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Folder id.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// CDN endpoint CNAME, must be unique among resources.
	Cname string `protobuf:"bytes,3,opt,name=cname,proto3" json:"cname,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Update timestamp.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Flag to create Resource either in active or disabled state.
	// True - the content from CDN is available to clients.
	// False - the content from CDN isn't available to clients.
	Active bool `protobuf:"varint,6,opt,name=active,proto3" json:"active,omitempty"`
	// Resource settings and options to tune CDN edge behavior.
	Options *ResourceOptions `protobuf:"bytes,7,opt,name=options,proto3" json:"options,omitempty"`
	// List of secondary hostname strings.
	SecondaryHostnames []string `protobuf:"bytes,8,rep,name=secondary_hostnames,json=secondaryHostnames,proto3" json:"secondary_hostnames,omitempty"`
	// ID of the origin group.
	OriginGroupId int64 `protobuf:"varint,9,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// Name of the origin group.
	OriginGroupName string `protobuf:"bytes,10,opt,name=origin_group_name,json=originGroupName,proto3" json:"origin_group_name,omitempty"`
	// Specify the protocol schema to be used in communication with origin.
	OriginProtocol OriginProtocol `` /* 145-byte string literal not displayed */
	// SSL certificate options.
	SslCertificate *SSLCertificate `protobuf:"bytes,12,opt,name=ssl_certificate,json=sslCertificate,proto3" json:"ssl_certificate,omitempty"`
	// Labels of the resource.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

A CDN resource - representation of providers resource.

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetActive

func (x *Resource) GetActive() bool

func (*Resource) GetCname

func (x *Resource) GetCname() string

func (*Resource) GetCreatedAt

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

func (*Resource) GetFolderId

func (x *Resource) GetFolderId() string

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetLabels

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

func (*Resource) GetOptions

func (x *Resource) GetOptions() *ResourceOptions

func (*Resource) GetOriginGroupId

func (x *Resource) GetOriginGroupId() int64

func (*Resource) GetOriginGroupName

func (x *Resource) GetOriginGroupName() string

func (*Resource) GetOriginProtocol

func (x *Resource) GetOriginProtocol() OriginProtocol

func (*Resource) GetSecondaryHostnames

func (x *Resource) GetSecondaryHostnames() []string

func (*Resource) GetSslCertificate

func (x *Resource) GetSslCertificate() *SSLCertificate

func (*Resource) GetUpdatedAt

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

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) SetActive

func (m *Resource) SetActive(v bool)

func (*Resource) SetCname

func (m *Resource) SetCname(v string)

func (*Resource) SetCreatedAt

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

func (*Resource) SetFolderId

func (m *Resource) SetFolderId(v string)

func (*Resource) SetId

func (m *Resource) SetId(v string)

func (*Resource) SetLabels

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

func (*Resource) SetOptions

func (m *Resource) SetOptions(v *ResourceOptions)

func (*Resource) SetOriginGroupId

func (m *Resource) SetOriginGroupId(v int64)

func (*Resource) SetOriginGroupName

func (m *Resource) SetOriginGroupName(v string)

func (*Resource) SetOriginProtocol

func (m *Resource) SetOriginProtocol(v OriginProtocol)

func (*Resource) SetSecondaryHostnames

func (m *Resource) SetSecondaryHostnames(v []string)

func (*Resource) SetSslCertificate

func (m *Resource) SetSslCertificate(v *SSLCertificate)

func (*Resource) SetUpdatedAt

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

func (*Resource) String

func (x *Resource) String() string

type ResourceOptions

type ResourceOptions struct {

	// Set up a cache status.
	DisableCache *ResourceOptions_BoolOption `protobuf:"bytes,1,opt,name=disable_cache,json=disableCache,proto3" json:"disable_cache,omitempty"`
	// Set up [EdgeCacheSettings].
	EdgeCacheSettings *ResourceOptions_EdgeCacheSettings `protobuf:"bytes,2,opt,name=edge_cache_settings,json=edgeCacheSettings,proto3" json:"edge_cache_settings,omitempty"`
	// Using [Int64Option]. Set up a cache period for the end-users browser.
	// Content will be cached due to origin settings.
	// If there are no cache settings on your origin, the content will not be cached.
	// The list of HTTP response codes that can be cached in browsers: 200, 201, 204, 206, 301, 302, 303, 304, 307, 308.
	// Other response codes will not be cached.
	// The default value is 4 days.
	BrowserCacheSettings *ResourceOptions_Int64Option `protobuf:"bytes,3,opt,name=browser_cache_settings,json=browserCacheSettings,proto3" json:"browser_cache_settings,omitempty"`
	// List HTTP headers that must be included in responses to clients.
	CacheHttpHeaders *ResourceOptions_StringsListOption `protobuf:"bytes,4,opt,name=cache_http_headers,json=cacheHttpHeaders,proto3" json:"cache_http_headers,omitempty"`
	// Set up [QueryParamsOptions].
	QueryParamsOptions *ResourceOptions_QueryParamsOptions `protobuf:"bytes,5,opt,name=query_params_options,json=queryParamsOptions,proto3" json:"query_params_options,omitempty"`
	// Files larger than 10 MB will be requested and cached in parts (no larger than 10 MB each part). It reduces time to first byte.
	//
	// The origin must support HTTP Range requests.
	//
	// By default the option is disabled.
	Slice *ResourceOptions_BoolOption `protobuf:"bytes,6,opt,name=slice,proto3" json:"slice,omitempty"`
	// Set up compression variant.
	CompressionOptions *ResourceOptions_CompressionOptions `protobuf:"bytes,7,opt,name=compression_options,json=compressionOptions,proto3" json:"compression_options,omitempty"`
	// Set up redirects.
	RedirectOptions *ResourceOptions_RedirectOptions `protobuf:"bytes,8,opt,name=redirect_options,json=redirectOptions,proto3" json:"redirect_options,omitempty"`
	// Set up host parameters.
	HostOptions *ResourceOptions_HostOptions `protobuf:"bytes,9,opt,name=host_options,json=hostOptions,proto3" json:"host_options,omitempty"`
	// Set up static headers that CDN servers send in responses to clients.
	StaticHeaders *ResourceOptions_StringsMapOption `protobuf:"bytes,10,opt,name=static_headers,json=staticHeaders,proto3" json:"static_headers,omitempty"`
	// Parameter that lets browsers get access to selected resources from a domain
	// different to a domain from which the request is received.
	// [Read more](/docs/cdn/concepts/cors).
	Cors *ResourceOptions_StringsListOption `protobuf:"bytes,11,opt,name=cors,proto3" json:"cors,omitempty"`
	// List of errors which instruct CDN servers to serve stale content to clients.
	//
	// Possible values: `error`, `http_403`, `http_404`, `http_429`, `http_500`, `http_502`, `http_503`, `http_504`, `invalid_header`, `timeout`, `updating`.
	Stale *ResourceOptions_StringsListOption `protobuf:"bytes,12,opt,name=stale,proto3" json:"stale,omitempty"`
	// HTTP methods for your CDN content. By default the following methods
	// are allowed: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS.
	// In case some methods are not allowed to the user, they will get the 405
	// (Method Not Allowed) response. If the method is not supported,
	// the user gets the 501 (Not Implemented) response.
	AllowedHttpMethods *ResourceOptions_StringsListOption `protobuf:"bytes,13,opt,name=allowed_http_methods,json=allowedHttpMethods,proto3" json:"allowed_http_methods,omitempty"`
	// Allows caching for GET, HEAD and POST requests.
	ProxyCacheMethodsSet *ResourceOptions_BoolOption `` /* 126-byte string literal not displayed */
	// Disabling proxy force ranges.
	DisableProxyForceRanges *ResourceOptions_BoolOption `` /* 135-byte string literal not displayed */
	// Set up custom headers that CDN servers send in requests to origins.
	// The Header name field can contain letters (A-Z, a-z), numbers (0-9), dashes (-) and underscores (_).
	// The Value field can contain letters (A-Z, a-z), numbers (0-9), dashes (-),
	// underscores (_), slashes (/), colons (:), equal (=), dots (.), and spaces.
	StaticRequestHeaders *ResourceOptions_StringsMapOption `protobuf:"bytes,16,opt,name=static_request_headers,json=staticRequestHeaders,proto3" json:"static_request_headers,omitempty"`
	// Wildcard additional CNAME.
	// If a resource has a wildcard additional CNAME, you can use your own certificate for content delivery via HTTPS. Read-only.
	CustomServerName *ResourceOptions_StringOption `protobuf:"bytes,17,opt,name=custom_server_name,json=customServerName,proto3" json:"custom_server_name,omitempty"`
	// Using [BoolOption] for ignoring cookie.
	IgnoreCookie *ResourceOptions_BoolOption `protobuf:"bytes,18,opt,name=ignore_cookie,json=ignoreCookie,proto3" json:"ignore_cookie,omitempty"`
	// Changing or redirecting query paths.
	Rewrite *ResourceOptions_RewriteOption `protobuf:"bytes,19,opt,name=rewrite,proto3" json:"rewrite,omitempty"`
	// Secure token to protect contect and limit access by IP addresses and time limits.
	SecureKey *ResourceOptions_SecureKeyOption `protobuf:"bytes,20,opt,name=secure_key,json=secureKey,proto3" json:"secure_key,omitempty"`
	// Manage the state of the IP access policy option.
	// The option controls access to content from the specified IP addresses.
	IpAddressAcl *ResourceOptions_IPAddressACLOption `protobuf:"bytes,21,opt,name=ip_address_acl,json=ipAddressAcl,proto3" json:"ip_address_acl,omitempty"`
	// contains filtered or unexported fields
}

A major set of various resource options.

func (*ResourceOptions) Descriptor deprecated

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

Deprecated: Use ResourceOptions.ProtoReflect.Descriptor instead.

func (*ResourceOptions) GetAllowedHttpMethods

func (x *ResourceOptions) GetAllowedHttpMethods() *ResourceOptions_StringsListOption

func (*ResourceOptions) GetBrowserCacheSettings

func (x *ResourceOptions) GetBrowserCacheSettings() *ResourceOptions_Int64Option

func (*ResourceOptions) GetCacheHttpHeaders

func (x *ResourceOptions) GetCacheHttpHeaders() *ResourceOptions_StringsListOption

func (*ResourceOptions) GetCompressionOptions

func (x *ResourceOptions) GetCompressionOptions() *ResourceOptions_CompressionOptions

func (*ResourceOptions) GetCors

func (*ResourceOptions) GetCustomServerName

func (x *ResourceOptions) GetCustomServerName() *ResourceOptions_StringOption

func (*ResourceOptions) GetDisableCache

func (x *ResourceOptions) GetDisableCache() *ResourceOptions_BoolOption

func (*ResourceOptions) GetDisableProxyForceRanges

func (x *ResourceOptions) GetDisableProxyForceRanges() *ResourceOptions_BoolOption

func (*ResourceOptions) GetEdgeCacheSettings

func (x *ResourceOptions) GetEdgeCacheSettings() *ResourceOptions_EdgeCacheSettings

func (*ResourceOptions) GetHostOptions

func (x *ResourceOptions) GetHostOptions() *ResourceOptions_HostOptions

func (*ResourceOptions) GetIgnoreCookie

func (x *ResourceOptions) GetIgnoreCookie() *ResourceOptions_BoolOption

func (*ResourceOptions) GetIpAddressAcl

func (*ResourceOptions) GetProxyCacheMethodsSet

func (x *ResourceOptions) GetProxyCacheMethodsSet() *ResourceOptions_BoolOption

func (*ResourceOptions) GetQueryParamsOptions

func (x *ResourceOptions) GetQueryParamsOptions() *ResourceOptions_QueryParamsOptions

func (*ResourceOptions) GetRedirectOptions

func (x *ResourceOptions) GetRedirectOptions() *ResourceOptions_RedirectOptions

func (*ResourceOptions) GetRewrite

func (*ResourceOptions) GetSecureKey

func (*ResourceOptions) GetSlice

func (*ResourceOptions) GetStale

func (*ResourceOptions) GetStaticHeaders

func (x *ResourceOptions) GetStaticHeaders() *ResourceOptions_StringsMapOption

func (*ResourceOptions) GetStaticRequestHeaders

func (x *ResourceOptions) GetStaticRequestHeaders() *ResourceOptions_StringsMapOption

func (*ResourceOptions) ProtoMessage

func (*ResourceOptions) ProtoMessage()

func (*ResourceOptions) ProtoReflect

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

func (*ResourceOptions) Reset

func (x *ResourceOptions) Reset()

func (*ResourceOptions) SetAllowedHttpMethods

func (m *ResourceOptions) SetAllowedHttpMethods(v *ResourceOptions_StringsListOption)

func (*ResourceOptions) SetBrowserCacheSettings

func (m *ResourceOptions) SetBrowserCacheSettings(v *ResourceOptions_Int64Option)

func (*ResourceOptions) SetCacheHttpHeaders

func (m *ResourceOptions) SetCacheHttpHeaders(v *ResourceOptions_StringsListOption)

func (*ResourceOptions) SetCompressionOptions

func (m *ResourceOptions) SetCompressionOptions(v *ResourceOptions_CompressionOptions)

func (*ResourceOptions) SetCors

func (*ResourceOptions) SetCustomServerName

func (m *ResourceOptions) SetCustomServerName(v *ResourceOptions_StringOption)

func (*ResourceOptions) SetDisableCache

func (m *ResourceOptions) SetDisableCache(v *ResourceOptions_BoolOption)

func (*ResourceOptions) SetDisableProxyForceRanges

func (m *ResourceOptions) SetDisableProxyForceRanges(v *ResourceOptions_BoolOption)

func (*ResourceOptions) SetEdgeCacheSettings

func (m *ResourceOptions) SetEdgeCacheSettings(v *ResourceOptions_EdgeCacheSettings)

func (*ResourceOptions) SetHostOptions

func (m *ResourceOptions) SetHostOptions(v *ResourceOptions_HostOptions)

func (*ResourceOptions) SetIgnoreCookie

func (m *ResourceOptions) SetIgnoreCookie(v *ResourceOptions_BoolOption)

func (*ResourceOptions) SetIpAddressAcl

func (m *ResourceOptions) SetIpAddressAcl(v *ResourceOptions_IPAddressACLOption)

func (*ResourceOptions) SetProxyCacheMethodsSet

func (m *ResourceOptions) SetProxyCacheMethodsSet(v *ResourceOptions_BoolOption)

func (*ResourceOptions) SetQueryParamsOptions

func (m *ResourceOptions) SetQueryParamsOptions(v *ResourceOptions_QueryParamsOptions)

func (*ResourceOptions) SetRedirectOptions

func (m *ResourceOptions) SetRedirectOptions(v *ResourceOptions_RedirectOptions)

func (*ResourceOptions) SetRewrite

func (*ResourceOptions) SetSecureKey

func (*ResourceOptions) SetSlice

func (*ResourceOptions) SetStale

func (*ResourceOptions) SetStaticHeaders

func (m *ResourceOptions) SetStaticHeaders(v *ResourceOptions_StringsMapOption)

func (*ResourceOptions) SetStaticRequestHeaders

func (m *ResourceOptions) SetStaticRequestHeaders(v *ResourceOptions_StringsMapOption)

func (*ResourceOptions) String

func (x *ResourceOptions) String() string

type ResourceOptions_BoolOption

type ResourceOptions_BoolOption struct {

	// True - the option is enabled and its [value] is applied to the resource.
	// False - the option is disabled and its default value is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Value of the option.
	Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Set up bool values.

func (*ResourceOptions_BoolOption) Descriptor deprecated

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

Deprecated: Use ResourceOptions_BoolOption.ProtoReflect.Descriptor instead.

func (*ResourceOptions_BoolOption) GetEnabled

func (x *ResourceOptions_BoolOption) GetEnabled() bool

func (*ResourceOptions_BoolOption) GetValue

func (x *ResourceOptions_BoolOption) GetValue() bool

func (*ResourceOptions_BoolOption) ProtoMessage

func (*ResourceOptions_BoolOption) ProtoMessage()

func (*ResourceOptions_BoolOption) ProtoReflect

func (*ResourceOptions_BoolOption) Reset

func (x *ResourceOptions_BoolOption) Reset()

func (*ResourceOptions_BoolOption) SetEnabled

func (m *ResourceOptions_BoolOption) SetEnabled(v bool)

func (*ResourceOptions_BoolOption) SetValue

func (m *ResourceOptions_BoolOption) SetValue(v bool)

func (*ResourceOptions_BoolOption) String

func (x *ResourceOptions_BoolOption) String() string

type ResourceOptions_CachingTimes

type ResourceOptions_CachingTimes struct {

	// Caching time for a response with codes 200, 206, 301, 302.
	// Responses with codes 4xx, 5xx will not be cached. Use `0s` disable to caching.
	// Use [custom_values] field to specify a custom caching time for a response with specific codes.
	SimpleValue int64 `protobuf:"varint,1,opt,name=simple_value,json=simpleValue,proto3" json:"simple_value,omitempty"`
	// Caching time for a response with specific codes. These settings have a higher priority than the value field.
	// Response code (`304`, `404` for example). Use `any` to specify caching time for all response codes.
	// Caching time in seconds (`0s`, `600s` for example). Use `0s` to disable caching for a specific response code.
	CustomValues map[string]int64 `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

A set of the caching response time parameters.

func (*ResourceOptions_CachingTimes) Descriptor deprecated

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

Deprecated: Use ResourceOptions_CachingTimes.ProtoReflect.Descriptor instead.

func (*ResourceOptions_CachingTimes) GetCustomValues

func (x *ResourceOptions_CachingTimes) GetCustomValues() map[string]int64

func (*ResourceOptions_CachingTimes) GetSimpleValue

func (x *ResourceOptions_CachingTimes) GetSimpleValue() int64

func (*ResourceOptions_CachingTimes) ProtoMessage

func (*ResourceOptions_CachingTimes) ProtoMessage()

func (*ResourceOptions_CachingTimes) ProtoReflect

func (*ResourceOptions_CachingTimes) Reset

func (x *ResourceOptions_CachingTimes) Reset()

func (*ResourceOptions_CachingTimes) SetCustomValues

func (m *ResourceOptions_CachingTimes) SetCustomValues(v map[string]int64)

func (*ResourceOptions_CachingTimes) SetSimpleValue

func (m *ResourceOptions_CachingTimes) SetSimpleValue(v int64)

func (*ResourceOptions_CachingTimes) String

type ResourceOptions_CompressionOptions

type ResourceOptions_CompressionOptions struct {

	// Types that are assignable to CompressionVariant:
	//
	//	*ResourceOptions_CompressionOptions_FetchCompressed
	//	*ResourceOptions_CompressionOptions_GzipOn
	//	*ResourceOptions_CompressionOptions_BrotliCompression
	CompressionVariant isResourceOptions_CompressionOptions_CompressionVariant `protobuf_oneof:"compression_variant"`
	// contains filtered or unexported fields
}

A set of the compression variant parameters.

func (*ResourceOptions_CompressionOptions) Descriptor deprecated

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

Deprecated: Use ResourceOptions_CompressionOptions.ProtoReflect.Descriptor instead.

func (*ResourceOptions_CompressionOptions) GetBrotliCompression

func (*ResourceOptions_CompressionOptions) GetCompressionVariant

func (m *ResourceOptions_CompressionOptions) GetCompressionVariant() isResourceOptions_CompressionOptions_CompressionVariant

func (*ResourceOptions_CompressionOptions) GetFetchCompressed

func (*ResourceOptions_CompressionOptions) GetGzipOn

func (*ResourceOptions_CompressionOptions) ProtoMessage

func (*ResourceOptions_CompressionOptions) ProtoMessage()

func (*ResourceOptions_CompressionOptions) ProtoReflect

func (*ResourceOptions_CompressionOptions) Reset

func (*ResourceOptions_CompressionOptions) SetBrotliCompression

func (*ResourceOptions_CompressionOptions) SetCompressionVariant

func (*ResourceOptions_CompressionOptions) SetFetchCompressed

func (*ResourceOptions_CompressionOptions) SetGzipOn

func (*ResourceOptions_CompressionOptions) String

type ResourceOptions_CompressionOptions_BrotliCompression

type ResourceOptions_CompressionOptions_BrotliCompression struct {
	// The option allows to compress content with brotli on the CDN's end.
	//
	// Compression is performed on the Origin Shielding. If a pre-cache server doesn't active for a resource, compression does not occur even if the option is enabled.
	//
	// Specify the content-type for each type of content you wish to have compressed. CDN servers will request only uncompressed content from the origin.
	BrotliCompression *ResourceOptions_StringsListOption `protobuf:"bytes,3,opt,name=brotli_compression,json=brotliCompression,proto3,oneof"`
}

type ResourceOptions_CompressionOptions_CompressionVariant

type ResourceOptions_CompressionOptions_CompressionVariant = isResourceOptions_CompressionOptions_CompressionVariant

type ResourceOptions_CompressionOptions_FetchCompressed

type ResourceOptions_CompressionOptions_FetchCompressed struct {
	// The Fetch compressed option helps you to reduce
	// the bandwidth between origin and CDN servers.
	// Also, content delivery speed becomes higher because of reducing the time
	// for compressing files in a CDN.
	FetchCompressed *ResourceOptions_BoolOption `protobuf:"bytes,1,opt,name=fetch_compressed,json=fetchCompressed,proto3,oneof"`
}

type ResourceOptions_CompressionOptions_GzipOn

type ResourceOptions_CompressionOptions_GzipOn struct {
	// Using [BoolOption]. GZip compression at CDN servers reduces file size by 70% and can be as high as 90%.
	GzipOn *ResourceOptions_BoolOption `protobuf:"bytes,2,opt,name=gzip_on,json=gzipOn,proto3,oneof"`
}

type ResourceOptions_EdgeCacheSettings

type ResourceOptions_EdgeCacheSettings struct {

	// True - the option is enabled and its `values_variant` is applied to the resource.
	// False - the option is disabled and its default value is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Types that are assignable to ValuesVariant:
	//
	//	*ResourceOptions_EdgeCacheSettings_Value
	//	*ResourceOptions_EdgeCacheSettings_DefaultValue
	ValuesVariant isResourceOptions_EdgeCacheSettings_ValuesVariant `protobuf_oneof:"values_variant"`
	// contains filtered or unexported fields
}

A set of the edge cache parameters.

func (*ResourceOptions_EdgeCacheSettings) Descriptor deprecated

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

Deprecated: Use ResourceOptions_EdgeCacheSettings.ProtoReflect.Descriptor instead.

func (*ResourceOptions_EdgeCacheSettings) GetDefaultValue

func (x *ResourceOptions_EdgeCacheSettings) GetDefaultValue() int64

func (*ResourceOptions_EdgeCacheSettings) GetEnabled

func (x *ResourceOptions_EdgeCacheSettings) GetEnabled() bool

func (*ResourceOptions_EdgeCacheSettings) GetValue

func (*ResourceOptions_EdgeCacheSettings) GetValuesVariant

func (m *ResourceOptions_EdgeCacheSettings) GetValuesVariant() isResourceOptions_EdgeCacheSettings_ValuesVariant

func (*ResourceOptions_EdgeCacheSettings) ProtoMessage

func (*ResourceOptions_EdgeCacheSettings) ProtoMessage()

func (*ResourceOptions_EdgeCacheSettings) ProtoReflect

func (*ResourceOptions_EdgeCacheSettings) Reset

func (*ResourceOptions_EdgeCacheSettings) SetDefaultValue

func (m *ResourceOptions_EdgeCacheSettings) SetDefaultValue(v int64)

func (*ResourceOptions_EdgeCacheSettings) SetEnabled

func (m *ResourceOptions_EdgeCacheSettings) SetEnabled(v bool)

func (*ResourceOptions_EdgeCacheSettings) SetValue

func (*ResourceOptions_EdgeCacheSettings) SetValuesVariant

func (*ResourceOptions_EdgeCacheSettings) String

type ResourceOptions_EdgeCacheSettings_DefaultValue

type ResourceOptions_EdgeCacheSettings_DefaultValue struct {
	// Content will be cached according to origin cache settings.
	// The value applies for a response with codes 200, 201, 204, 206, 301, 302, 303, 304, 307, 308
	// if an origin server does not have caching HTTP headers.
	// Responses with other codes will not be cached.
	DefaultValue int64 `protobuf:"varint,3,opt,name=default_value,json=defaultValue,proto3,oneof"`
}

type ResourceOptions_EdgeCacheSettings_Value

type ResourceOptions_EdgeCacheSettings_Value struct {
	// Value of the option.
	Value *ResourceOptions_CachingTimes `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
}

type ResourceOptions_EdgeCacheSettings_ValuesVariant

type ResourceOptions_EdgeCacheSettings_ValuesVariant = isResourceOptions_EdgeCacheSettings_ValuesVariant

type ResourceOptions_HostOptions

type ResourceOptions_HostOptions struct {

	// Types that are assignable to HostVariant:
	//
	//	*ResourceOptions_HostOptions_Host
	//	*ResourceOptions_HostOptions_ForwardHostHeader
	HostVariant isResourceOptions_HostOptions_HostVariant `protobuf_oneof:"host_variant"`
	// contains filtered or unexported fields
}

A set of the host parameters.

func (*ResourceOptions_HostOptions) Descriptor deprecated

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

Deprecated: Use ResourceOptions_HostOptions.ProtoReflect.Descriptor instead.

func (*ResourceOptions_HostOptions) GetForwardHostHeader

func (x *ResourceOptions_HostOptions) GetForwardHostHeader() *ResourceOptions_BoolOption

func (*ResourceOptions_HostOptions) GetHost

func (*ResourceOptions_HostOptions) GetHostVariant

func (m *ResourceOptions_HostOptions) GetHostVariant() isResourceOptions_HostOptions_HostVariant

func (*ResourceOptions_HostOptions) ProtoMessage

func (*ResourceOptions_HostOptions) ProtoMessage()

func (*ResourceOptions_HostOptions) ProtoReflect

func (*ResourceOptions_HostOptions) Reset

func (x *ResourceOptions_HostOptions) Reset()

func (*ResourceOptions_HostOptions) SetForwardHostHeader

func (m *ResourceOptions_HostOptions) SetForwardHostHeader(v *ResourceOptions_BoolOption)

func (*ResourceOptions_HostOptions) SetHost

func (*ResourceOptions_HostOptions) SetHostVariant

func (*ResourceOptions_HostOptions) String

func (x *ResourceOptions_HostOptions) String() string

type ResourceOptions_HostOptions_ForwardHostHeader

type ResourceOptions_HostOptions_ForwardHostHeader struct {
	// Using [BoolOption]. Choose the Forward Host header option if is important to send in the request to the Origin
	// the same Host header as was sent in the request to CDN server.
	ForwardHostHeader *ResourceOptions_BoolOption `protobuf:"bytes,2,opt,name=forward_host_header,json=forwardHostHeader,proto3,oneof"`
}

type ResourceOptions_HostOptions_Host

type ResourceOptions_HostOptions_Host struct {
	// Custom value for the Host header.
	//
	// Your server must be able to process requests with the chosen header.
	//
	// Default value (if [StringOption.enabled] is `false`) is [Resource.cname].
	Host *ResourceOptions_StringOption `protobuf:"bytes,1,opt,name=host,proto3,oneof"`
}

type ResourceOptions_HostOptions_HostVariant

type ResourceOptions_HostOptions_HostVariant = isResourceOptions_HostOptions_HostVariant

type ResourceOptions_IPAddressACLOption

type ResourceOptions_IPAddressACLOption struct {

	// True - the option is enabled and its [flag] is applied to the resource.
	// False - the option is disabled and its default value of the [flag] is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The policy type. One of allow or deny value.
	PolicyType PolicyType `` /* 128-byte string literal not displayed */
	// The list of IP addresses to be allowed or denied.
	ExceptedValues []string `protobuf:"bytes,3,rep,name=excepted_values,json=exceptedValues,proto3" json:"excepted_values,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceOptions_IPAddressACLOption) Descriptor deprecated

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

Deprecated: Use ResourceOptions_IPAddressACLOption.ProtoReflect.Descriptor instead.

func (*ResourceOptions_IPAddressACLOption) GetEnabled

func (x *ResourceOptions_IPAddressACLOption) GetEnabled() bool

func (*ResourceOptions_IPAddressACLOption) GetExceptedValues

func (x *ResourceOptions_IPAddressACLOption) GetExceptedValues() []string

func (*ResourceOptions_IPAddressACLOption) GetPolicyType

func (*ResourceOptions_IPAddressACLOption) ProtoMessage

func (*ResourceOptions_IPAddressACLOption) ProtoMessage()

func (*ResourceOptions_IPAddressACLOption) ProtoReflect

func (*ResourceOptions_IPAddressACLOption) Reset

func (*ResourceOptions_IPAddressACLOption) SetEnabled

func (m *ResourceOptions_IPAddressACLOption) SetEnabled(v bool)

func (*ResourceOptions_IPAddressACLOption) SetExceptedValues

func (m *ResourceOptions_IPAddressACLOption) SetExceptedValues(v []string)

func (*ResourceOptions_IPAddressACLOption) SetPolicyType

func (m *ResourceOptions_IPAddressACLOption) SetPolicyType(v PolicyType)

func (*ResourceOptions_IPAddressACLOption) String

type ResourceOptions_Int64Option

type ResourceOptions_Int64Option struct {

	// True - the option is enabled and its [value] is applied to the resource.
	// False - the option is disabled and its default value is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Value of the option.
	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A set of the numeric parameters.

func (*ResourceOptions_Int64Option) Descriptor deprecated

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

Deprecated: Use ResourceOptions_Int64Option.ProtoReflect.Descriptor instead.

func (*ResourceOptions_Int64Option) GetEnabled

func (x *ResourceOptions_Int64Option) GetEnabled() bool

func (*ResourceOptions_Int64Option) GetValue

func (x *ResourceOptions_Int64Option) GetValue() int64

func (*ResourceOptions_Int64Option) ProtoMessage

func (*ResourceOptions_Int64Option) ProtoMessage()

func (*ResourceOptions_Int64Option) ProtoReflect

func (*ResourceOptions_Int64Option) Reset

func (x *ResourceOptions_Int64Option) Reset()

func (*ResourceOptions_Int64Option) SetEnabled

func (m *ResourceOptions_Int64Option) SetEnabled(v bool)

func (*ResourceOptions_Int64Option) SetValue

func (m *ResourceOptions_Int64Option) SetValue(v int64)

func (*ResourceOptions_Int64Option) String

func (x *ResourceOptions_Int64Option) String() string

type ResourceOptions_QueryParamsOptions

type ResourceOptions_QueryParamsOptions struct {

	// Types that are assignable to QueryParamsVariant:
	//
	//	*ResourceOptions_QueryParamsOptions_IgnoreQueryString
	//	*ResourceOptions_QueryParamsOptions_QueryParamsWhitelist
	//	*ResourceOptions_QueryParamsOptions_QueryParamsBlacklist
	QueryParamsVariant isResourceOptions_QueryParamsOptions_QueryParamsVariant `protobuf_oneof:"query_params_variant"`
	// contains filtered or unexported fields
}

A set of the query parameters.

func (*ResourceOptions_QueryParamsOptions) Descriptor deprecated

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

Deprecated: Use ResourceOptions_QueryParamsOptions.ProtoReflect.Descriptor instead.

func (*ResourceOptions_QueryParamsOptions) GetIgnoreQueryString

func (*ResourceOptions_QueryParamsOptions) GetQueryParamsBlacklist

func (*ResourceOptions_QueryParamsOptions) GetQueryParamsVariant

func (m *ResourceOptions_QueryParamsOptions) GetQueryParamsVariant() isResourceOptions_QueryParamsOptions_QueryParamsVariant

func (*ResourceOptions_QueryParamsOptions) GetQueryParamsWhitelist

func (*ResourceOptions_QueryParamsOptions) ProtoMessage

func (*ResourceOptions_QueryParamsOptions) ProtoMessage()

func (*ResourceOptions_QueryParamsOptions) ProtoReflect

func (*ResourceOptions_QueryParamsOptions) Reset

func (*ResourceOptions_QueryParamsOptions) SetIgnoreQueryString

func (*ResourceOptions_QueryParamsOptions) SetQueryParamsBlacklist

func (*ResourceOptions_QueryParamsOptions) SetQueryParamsVariant

func (*ResourceOptions_QueryParamsOptions) SetQueryParamsWhitelist

func (*ResourceOptions_QueryParamsOptions) String

type ResourceOptions_QueryParamsOptions_IgnoreQueryString

type ResourceOptions_QueryParamsOptions_IgnoreQueryString struct {
	// Using [BoolOption]. Selected by default. Files with different query parameters are cached as objects with the same key regardless of the parameter value.
	IgnoreQueryString *ResourceOptions_BoolOption `protobuf:"bytes,1,opt,name=ignore_query_string,json=ignoreQueryString,proto3,oneof"`
}

type ResourceOptions_QueryParamsOptions_QueryParamsBlacklist

type ResourceOptions_QueryParamsOptions_QueryParamsBlacklist struct {
	// Ignore only. Files with the specified query parameters are cached as objects with the same key,
	// files with other parameters are cached as objects with different keys.
	QueryParamsBlacklist *ResourceOptions_StringsListOption `protobuf:"bytes,3,opt,name=query_params_blacklist,json=queryParamsBlacklist,proto3,oneof"`
}

type ResourceOptions_QueryParamsOptions_QueryParamsVariant

type ResourceOptions_QueryParamsOptions_QueryParamsVariant = isResourceOptions_QueryParamsOptions_QueryParamsVariant

type ResourceOptions_QueryParamsOptions_QueryParamsWhitelist

type ResourceOptions_QueryParamsOptions_QueryParamsWhitelist struct {
	// Ignore All Except.
	// Files with the specified query parameters are cached as objects with different keys,
	// files with other parameters are cached as objects with the same key.
	QueryParamsWhitelist *ResourceOptions_StringsListOption `protobuf:"bytes,2,opt,name=query_params_whitelist,json=queryParamsWhitelist,proto3,oneof"`
}

type ResourceOptions_RedirectOptions

type ResourceOptions_RedirectOptions struct {

	// Types that are assignable to RedirectVariant:
	//
	//	*ResourceOptions_RedirectOptions_RedirectHttpToHttps
	//	*ResourceOptions_RedirectOptions_RedirectHttpsToHttp
	RedirectVariant isResourceOptions_RedirectOptions_RedirectVariant `protobuf_oneof:"redirect_variant"`
	// contains filtered or unexported fields
}

A set of the redirect parameters.

func (*ResourceOptions_RedirectOptions) Descriptor deprecated

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

Deprecated: Use ResourceOptions_RedirectOptions.ProtoReflect.Descriptor instead.

func (*ResourceOptions_RedirectOptions) GetRedirectHttpToHttps

func (x *ResourceOptions_RedirectOptions) GetRedirectHttpToHttps() *ResourceOptions_BoolOption

func (*ResourceOptions_RedirectOptions) GetRedirectHttpsToHttp

func (x *ResourceOptions_RedirectOptions) GetRedirectHttpsToHttp() *ResourceOptions_BoolOption

func (*ResourceOptions_RedirectOptions) GetRedirectVariant

func (m *ResourceOptions_RedirectOptions) GetRedirectVariant() isResourceOptions_RedirectOptions_RedirectVariant

func (*ResourceOptions_RedirectOptions) ProtoMessage

func (*ResourceOptions_RedirectOptions) ProtoMessage()

func (*ResourceOptions_RedirectOptions) ProtoReflect

func (*ResourceOptions_RedirectOptions) Reset

func (*ResourceOptions_RedirectOptions) SetRedirectHttpToHttps

func (m *ResourceOptions_RedirectOptions) SetRedirectHttpToHttps(v *ResourceOptions_BoolOption)

func (*ResourceOptions_RedirectOptions) SetRedirectHttpsToHttp

func (m *ResourceOptions_RedirectOptions) SetRedirectHttpsToHttp(v *ResourceOptions_BoolOption)

func (*ResourceOptions_RedirectOptions) SetRedirectVariant

func (*ResourceOptions_RedirectOptions) String

type ResourceOptions_RedirectOptions_RedirectHttpToHttps

type ResourceOptions_RedirectOptions_RedirectHttpToHttps struct {
	// Using [BoolOption]. Set up a redirect from HTTPS to HTTP.
	RedirectHttpToHttps *ResourceOptions_BoolOption `protobuf:"bytes,1,opt,name=redirect_http_to_https,json=redirectHttpToHttps,proto3,oneof"`
}

type ResourceOptions_RedirectOptions_RedirectHttpsToHttp

type ResourceOptions_RedirectOptions_RedirectHttpsToHttp struct {
	// Using [BoolOption]. Set up a redirect from HTTP to HTTPS.
	RedirectHttpsToHttp *ResourceOptions_BoolOption `protobuf:"bytes,2,opt,name=redirect_https_to_http,json=redirectHttpsToHttp,proto3,oneof"`
}

type ResourceOptions_RedirectOptions_RedirectVariant

type ResourceOptions_RedirectOptions_RedirectVariant = isResourceOptions_RedirectOptions_RedirectVariant

type ResourceOptions_RewriteOption

type ResourceOptions_RewriteOption struct {

	// True - the option is enabled and its [flag] is applied to the resource.
	// False - the option is disabled and its default value of the [flag] is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Pattern for rewrite.
	//
	// The value must have the following format: `<source path> <destination path>`, where both paths are regular expressions which use at least one group. E.g., `/foo/(.*) /bar/$1`.
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// Break flag is applied to the option by default.
	// It is not shown in the field.
	Flag RewriteFlag `protobuf:"varint,3,opt,name=flag,proto3,enum=yandex.cloud.cdn.v1.RewriteFlag" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

An option for changing or redirecting query paths.

func (*ResourceOptions_RewriteOption) Descriptor deprecated

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

Deprecated: Use ResourceOptions_RewriteOption.ProtoReflect.Descriptor instead.

func (*ResourceOptions_RewriteOption) GetBody

func (*ResourceOptions_RewriteOption) GetEnabled

func (x *ResourceOptions_RewriteOption) GetEnabled() bool

func (*ResourceOptions_RewriteOption) GetFlag

func (*ResourceOptions_RewriteOption) ProtoMessage

func (*ResourceOptions_RewriteOption) ProtoMessage()

func (*ResourceOptions_RewriteOption) ProtoReflect

func (*ResourceOptions_RewriteOption) Reset

func (x *ResourceOptions_RewriteOption) Reset()

func (*ResourceOptions_RewriteOption) SetBody

func (m *ResourceOptions_RewriteOption) SetBody(v string)

func (*ResourceOptions_RewriteOption) SetEnabled

func (m *ResourceOptions_RewriteOption) SetEnabled(v bool)

func (*ResourceOptions_RewriteOption) SetFlag

func (*ResourceOptions_RewriteOption) String

type ResourceOptions_SecureKeyOption

type ResourceOptions_SecureKeyOption struct {

	// True - the option is enabled and its [flag] is applied to the resource.
	// False - the option is disabled and its default value of the [flag] is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The key for the URL signing.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// The type of the URL signing. The URL could be available for all IP addresses or for the only one IP.
	Type SecureKeyURLType `protobuf:"varint,3,opt,name=type,proto3,enum=yandex.cloud.cdn.v1.SecureKeyURLType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceOptions_SecureKeyOption) Descriptor deprecated

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

Deprecated: Use ResourceOptions_SecureKeyOption.ProtoReflect.Descriptor instead.

func (*ResourceOptions_SecureKeyOption) GetEnabled

func (x *ResourceOptions_SecureKeyOption) GetEnabled() bool

func (*ResourceOptions_SecureKeyOption) GetKey

func (*ResourceOptions_SecureKeyOption) GetType

func (*ResourceOptions_SecureKeyOption) ProtoMessage

func (*ResourceOptions_SecureKeyOption) ProtoMessage()

func (*ResourceOptions_SecureKeyOption) ProtoReflect

func (*ResourceOptions_SecureKeyOption) Reset

func (*ResourceOptions_SecureKeyOption) SetEnabled

func (m *ResourceOptions_SecureKeyOption) SetEnabled(v bool)

func (*ResourceOptions_SecureKeyOption) SetKey

func (*ResourceOptions_SecureKeyOption) SetType

func (*ResourceOptions_SecureKeyOption) String

type ResourceOptions_StringOption

type ResourceOptions_StringOption struct {

	// True - the option is enabled and its [value] is applied to the resource.
	// False - the option is disabled and its default value is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Value of the option.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A set of the string parameters.

func (*ResourceOptions_StringOption) Descriptor deprecated

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

Deprecated: Use ResourceOptions_StringOption.ProtoReflect.Descriptor instead.

func (*ResourceOptions_StringOption) GetEnabled

func (x *ResourceOptions_StringOption) GetEnabled() bool

func (*ResourceOptions_StringOption) GetValue

func (x *ResourceOptions_StringOption) GetValue() string

func (*ResourceOptions_StringOption) ProtoMessage

func (*ResourceOptions_StringOption) ProtoMessage()

func (*ResourceOptions_StringOption) ProtoReflect

func (*ResourceOptions_StringOption) Reset

func (x *ResourceOptions_StringOption) Reset()

func (*ResourceOptions_StringOption) SetEnabled

func (m *ResourceOptions_StringOption) SetEnabled(v bool)

func (*ResourceOptions_StringOption) SetValue

func (m *ResourceOptions_StringOption) SetValue(v string)

func (*ResourceOptions_StringOption) String

type ResourceOptions_StringVariableMapOption

type ResourceOptions_StringVariableMapOption struct {

	// True - the option is enabled and its [value] is applied to the resource.
	// False - the option is disabled and its default value is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Value of the option.
	Value map[string]*ResourceOptions_StringVariableMapOption_OneofString `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

A set of the string variable map parameters.

func (*ResourceOptions_StringVariableMapOption) Descriptor deprecated

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

Deprecated: Use ResourceOptions_StringVariableMapOption.ProtoReflect.Descriptor instead.

func (*ResourceOptions_StringVariableMapOption) GetEnabled

func (*ResourceOptions_StringVariableMapOption) GetValue

func (*ResourceOptions_StringVariableMapOption) ProtoMessage

func (*ResourceOptions_StringVariableMapOption) ProtoReflect

func (*ResourceOptions_StringVariableMapOption) Reset

func (*ResourceOptions_StringVariableMapOption) SetEnabled

func (*ResourceOptions_StringVariableMapOption) SetValue

func (*ResourceOptions_StringVariableMapOption) String

type ResourceOptions_StringVariableMapOption_OneofString

type ResourceOptions_StringVariableMapOption_OneofString struct {

	// Types that are assignable to StringOption:
	//
	//	*ResourceOptions_StringVariableMapOption_OneofString_Value
	//	*ResourceOptions_StringVariableMapOption_OneofString_Values
	StringOption isResourceOptions_StringVariableMapOption_OneofString_StringOption `protobuf_oneof:"string_option"`
	// contains filtered or unexported fields
}

func (*ResourceOptions_StringVariableMapOption_OneofString) Descriptor deprecated

Deprecated: Use ResourceOptions_StringVariableMapOption_OneofString.ProtoReflect.Descriptor instead.

func (*ResourceOptions_StringVariableMapOption_OneofString) GetStringOption

func (m *ResourceOptions_StringVariableMapOption_OneofString) GetStringOption() isResourceOptions_StringVariableMapOption_OneofString_StringOption

func (*ResourceOptions_StringVariableMapOption_OneofString) GetValue

func (*ResourceOptions_StringVariableMapOption_OneofString) GetValues

func (*ResourceOptions_StringVariableMapOption_OneofString) ProtoMessage

func (*ResourceOptions_StringVariableMapOption_OneofString) ProtoReflect

func (*ResourceOptions_StringVariableMapOption_OneofString) Reset

func (*ResourceOptions_StringVariableMapOption_OneofString) SetStringOption

func (*ResourceOptions_StringVariableMapOption_OneofString) SetValue

func (*ResourceOptions_StringVariableMapOption_OneofString) SetValues

func (*ResourceOptions_StringVariableMapOption_OneofString) String

type ResourceOptions_StringVariableMapOption_OneofString_StringOption

type ResourceOptions_StringVariableMapOption_OneofString_StringOption = isResourceOptions_StringVariableMapOption_OneofString_StringOption

type ResourceOptions_StringVariableMapOption_OneofString_Value

type ResourceOptions_StringVariableMapOption_OneofString_Value struct {
	// Using [StringOption] to set value.
	Value *ResourceOptions_StringOption `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
}

type ResourceOptions_StringVariableMapOption_OneofString_Values

type ResourceOptions_StringVariableMapOption_OneofString_Values struct {
	// Using [StringsListOption] to set values.
	Values *ResourceOptions_StringsListOption `protobuf:"bytes,2,opt,name=values,proto3,oneof"`
}

type ResourceOptions_StringsListOption

type ResourceOptions_StringsListOption struct {

	// True - the option is enabled and its [value] is applied to the resource.
	// False - the option is disabled and its default value is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Value of the option.
	Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A set of the string list parameters.

func (*ResourceOptions_StringsListOption) Descriptor deprecated

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

Deprecated: Use ResourceOptions_StringsListOption.ProtoReflect.Descriptor instead.

func (*ResourceOptions_StringsListOption) GetEnabled

func (x *ResourceOptions_StringsListOption) GetEnabled() bool

func (*ResourceOptions_StringsListOption) GetValue

func (x *ResourceOptions_StringsListOption) GetValue() []string

func (*ResourceOptions_StringsListOption) ProtoMessage

func (*ResourceOptions_StringsListOption) ProtoMessage()

func (*ResourceOptions_StringsListOption) ProtoReflect

func (*ResourceOptions_StringsListOption) Reset

func (*ResourceOptions_StringsListOption) SetEnabled

func (m *ResourceOptions_StringsListOption) SetEnabled(v bool)

func (*ResourceOptions_StringsListOption) SetValue

func (m *ResourceOptions_StringsListOption) SetValue(v []string)

func (*ResourceOptions_StringsListOption) String

type ResourceOptions_StringsMapOption

type ResourceOptions_StringsMapOption struct {

	// True - the option is enabled and its [value] is applied to the resource.
	// False - the option is disabled and its default value is used for the resource.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Value of the option.
	Value map[string]string `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

A set of the strings map parameters.

func (*ResourceOptions_StringsMapOption) Descriptor deprecated

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

Deprecated: Use ResourceOptions_StringsMapOption.ProtoReflect.Descriptor instead.

func (*ResourceOptions_StringsMapOption) GetEnabled

func (x *ResourceOptions_StringsMapOption) GetEnabled() bool

func (*ResourceOptions_StringsMapOption) GetValue

func (*ResourceOptions_StringsMapOption) ProtoMessage

func (*ResourceOptions_StringsMapOption) ProtoMessage()

func (*ResourceOptions_StringsMapOption) ProtoReflect

func (*ResourceOptions_StringsMapOption) Reset

func (*ResourceOptions_StringsMapOption) SetEnabled

func (m *ResourceOptions_StringsMapOption) SetEnabled(v bool)

func (*ResourceOptions_StringsMapOption) SetValue

func (m *ResourceOptions_StringsMapOption) SetValue(v map[string]string)

func (*ResourceOptions_StringsMapOption) String

type ResourceOriginParams

type ResourceOriginParams struct {

	// Source of the content.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Set up type of the origin.
	Meta *OriginMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

A set of resource origin parameters.

func (*ResourceOriginParams) Descriptor deprecated

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

Deprecated: Use ResourceOriginParams.ProtoReflect.Descriptor instead.

func (*ResourceOriginParams) GetMeta

func (x *ResourceOriginParams) GetMeta() *OriginMeta

func (*ResourceOriginParams) GetSource

func (x *ResourceOriginParams) GetSource() string

func (*ResourceOriginParams) ProtoMessage

func (*ResourceOriginParams) ProtoMessage()

func (*ResourceOriginParams) ProtoReflect

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

func (*ResourceOriginParams) Reset

func (x *ResourceOriginParams) Reset()

func (*ResourceOriginParams) SetMeta

func (m *ResourceOriginParams) SetMeta(v *OriginMeta)

func (*ResourceOriginParams) SetSource

func (m *ResourceOriginParams) SetSource(v string)

func (*ResourceOriginParams) String

func (x *ResourceOriginParams) String() string

type ResourceRulesServiceClient

type ResourceRulesServiceClient interface {
	// List all rules for specified resource.
	List(ctx context.Context, in *ListResourceRulesRequest, opts ...grpc.CallOption) (*ListResourceRulesResponse, error)
	// Create new resource rule with specified unique name and rule patter.
	Create(ctx context.Context, in *CreateResourceRuleRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Get specified by id resource rule.
	Get(ctx context.Context, in *GetResourceRuleRequest, opts ...grpc.CallOption) (*Rule, error)
	// Update specified by id resource rule.
	Update(ctx context.Context, in *UpdateResourceRuleRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Delete specified by id resource rule.
	Delete(ctx context.Context, in *DeleteResourceRuleRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

ResourceRulesServiceClient is the client API for ResourceRulesService 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.

type ResourceRulesServiceServer

type ResourceRulesServiceServer interface {
	// List all rules for specified resource.
	List(context.Context, *ListResourceRulesRequest) (*ListResourceRulesResponse, error)
	// Create new resource rule with specified unique name and rule patter.
	Create(context.Context, *CreateResourceRuleRequest) (*operation.Operation, error)
	// Get specified by id resource rule.
	Get(context.Context, *GetResourceRuleRequest) (*Rule, error)
	// Update specified by id resource rule.
	Update(context.Context, *UpdateResourceRuleRequest) (*operation.Operation, error)
	// Delete specified by id resource rule.
	Delete(context.Context, *DeleteResourceRuleRequest) (*operation.Operation, error)
}

ResourceRulesServiceServer is the server API for ResourceRulesService service. All implementations should embed UnimplementedResourceRulesServiceServer for forward compatibility

type ResourceServiceClient

type ResourceServiceClient interface {
	// Get client's CDN resource by resource id.
	Get(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*Resource, error)
	// Lists CDN resources.
	List(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	// Creates a CDN resource in the specified folder.
	//
	// Creation may take up to 15 minutes.
	Create(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified CDN resource.
	//
	// The method implements patch behaviour, i.e. only the fields specified in the request are updated in the resource.
	//
	// Changes may take up to 15 minutes to apply. Afterwards, it is recommended to purge the resource's cache via a
	// [CacheService.Purge] request.
	Update(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes client's CDN resource.
	Delete(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Get Provider's CNAME (edge endpoint) bind to specified folder id.
	// Returns UNIMPLEMENTED error, if provider doesn't support CNAME request.
	GetProviderCName(ctx context.Context, in *GetProviderCNameRequest, opts ...grpc.CallOption) (*GetProviderCNameResponse, error)
}

ResourceServiceClient is the client API for ResourceService 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.

type ResourceServiceServer

type ResourceServiceServer interface {
	// Get client's CDN resource by resource id.
	Get(context.Context, *GetResourceRequest) (*Resource, error)
	// Lists CDN resources.
	List(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
	// Creates a CDN resource in the specified folder.
	//
	// Creation may take up to 15 minutes.
	Create(context.Context, *CreateResourceRequest) (*operation.Operation, error)
	// Updates the specified CDN resource.
	//
	// The method implements patch behaviour, i.e. only the fields specified in the request are updated in the resource.
	//
	// Changes may take up to 15 minutes to apply. Afterwards, it is recommended to purge the resource's cache via a
	// [CacheService.Purge] request.
	Update(context.Context, *UpdateResourceRequest) (*operation.Operation, error)
	// Deletes client's CDN resource.
	Delete(context.Context, *DeleteResourceRequest) (*operation.Operation, error)
	// Get Provider's CNAME (edge endpoint) bind to specified folder id.
	// Returns UNIMPLEMENTED error, if provider doesn't support CNAME request.
	GetProviderCName(context.Context, *GetProviderCNameRequest) (*GetProviderCNameResponse, error)
}

ResourceServiceServer is the server API for ResourceService service. All implementations should embed UnimplementedResourceServiceServer for forward compatibility

type RewriteFlag

type RewriteFlag int32

RewriteFlag defines flag for the Rewrite option.

const (
	RewriteFlag_REWRITE_FLAG_UNSPECIFIED RewriteFlag = 0
	// Stops processing of the current set of ngx_http_rewrite_module directives and
	// starts a search for a new location matching changed URI.
	RewriteFlag_LAST RewriteFlag = 1
	// Stops processing of the current set of the Rewrite option.
	RewriteFlag_BREAK RewriteFlag = 2
	// Returns a temporary redirect with the 302 code; It is used when a replacement string does not start
	// with "http://", "https://", or "$scheme".
	RewriteFlag_REDIRECT RewriteFlag = 3
	// Returns a permanent redirect with the 301 code.
	RewriteFlag_PERMANENT RewriteFlag = 4
)

func (RewriteFlag) Descriptor

func (RewriteFlag) Enum

func (x RewriteFlag) Enum() *RewriteFlag

func (RewriteFlag) EnumDescriptor deprecated

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

Deprecated: Use RewriteFlag.Descriptor instead.

func (RewriteFlag) Number

func (x RewriteFlag) Number() protoreflect.EnumNumber

func (RewriteFlag) String

func (x RewriteFlag) String() string

func (RewriteFlag) Type

type Rule

type Rule struct {

	// Rule ID.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Rule name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Rule pattern.
	// Must be a valid regular expression.
	RulePattern string           `protobuf:"bytes,3,opt,name=rule_pattern,json=rulePattern,proto3" json:"rule_pattern,omitempty"`
	Options     *ResourceOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

Resource rule.

func (*Rule) Descriptor deprecated

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

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetId

func (x *Rule) GetId() int64

func (*Rule) GetName

func (x *Rule) GetName() string

func (*Rule) GetOptions

func (x *Rule) GetOptions() *ResourceOptions

func (*Rule) GetRulePattern

func (x *Rule) GetRulePattern() string

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) SetId

func (m *Rule) SetId(v int64)

func (*Rule) SetName

func (m *Rule) SetName(v string)

func (*Rule) SetOptions

func (m *Rule) SetOptions(v *ResourceOptions)

func (*Rule) SetRulePattern

func (m *Rule) SetRulePattern(v string)

func (*Rule) String

func (x *Rule) String() string

type SSLCertificate

type SSLCertificate struct {

	// Type of the certificate.
	Type SSLCertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.cdn.v1.SSLCertificateType" json:"type,omitempty"`
	// Active status.
	Status SSLCertificateStatus `protobuf:"varint,2,opt,name=status,proto3,enum=yandex.cloud.cdn.v1.SSLCertificateStatus" json:"status,omitempty"`
	// Certificate data.
	Data *SSLCertificateData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

A SSL certificate parameters.

func (*SSLCertificate) Descriptor deprecated

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

Deprecated: Use SSLCertificate.ProtoReflect.Descriptor instead.

func (*SSLCertificate) GetData

func (x *SSLCertificate) GetData() *SSLCertificateData

func (*SSLCertificate) GetStatus

func (x *SSLCertificate) GetStatus() SSLCertificateStatus

func (*SSLCertificate) GetType

func (x *SSLCertificate) GetType() SSLCertificateType

func (*SSLCertificate) ProtoMessage

func (*SSLCertificate) ProtoMessage()

func (*SSLCertificate) ProtoReflect

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

func (*SSLCertificate) Reset

func (x *SSLCertificate) Reset()

func (*SSLCertificate) SetData

func (m *SSLCertificate) SetData(v *SSLCertificateData)

func (*SSLCertificate) SetStatus

func (m *SSLCertificate) SetStatus(v SSLCertificateStatus)

func (*SSLCertificate) SetType

func (m *SSLCertificate) SetType(v SSLCertificateType)

func (*SSLCertificate) String

func (x *SSLCertificate) String() string

type SSLCertificateCMData

type SSLCertificateCMData struct {

	// ID of the custom certificate.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

A certificate data custom parameters.

func (*SSLCertificateCMData) Descriptor deprecated

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

Deprecated: Use SSLCertificateCMData.ProtoReflect.Descriptor instead.

func (*SSLCertificateCMData) GetId

func (x *SSLCertificateCMData) GetId() string

func (*SSLCertificateCMData) ProtoMessage

func (*SSLCertificateCMData) ProtoMessage()

func (*SSLCertificateCMData) ProtoReflect

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

func (*SSLCertificateCMData) Reset

func (x *SSLCertificateCMData) Reset()

func (*SSLCertificateCMData) SetId

func (m *SSLCertificateCMData) SetId(v string)

func (*SSLCertificateCMData) String

func (x *SSLCertificateCMData) String() string

type SSLCertificateData

type SSLCertificateData struct {

	// Types that are assignable to SslCertificateDataVariant:
	//
	//	*SSLCertificateData_Cm
	SslCertificateDataVariant isSSLCertificateData_SslCertificateDataVariant `protobuf_oneof:"ssl_certificate_data_variant"`
	// contains filtered or unexported fields
}

A certificate data parameters.

func (*SSLCertificateData) Descriptor deprecated

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

Deprecated: Use SSLCertificateData.ProtoReflect.Descriptor instead.

func (*SSLCertificateData) GetCm

func (*SSLCertificateData) GetSslCertificateDataVariant

func (m *SSLCertificateData) GetSslCertificateDataVariant() isSSLCertificateData_SslCertificateDataVariant

func (*SSLCertificateData) ProtoMessage

func (*SSLCertificateData) ProtoMessage()

func (*SSLCertificateData) ProtoReflect

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

func (*SSLCertificateData) Reset

func (x *SSLCertificateData) Reset()

func (*SSLCertificateData) SetCm

func (*SSLCertificateData) SetSslCertificateDataVariant

func (m *SSLCertificateData) SetSslCertificateDataVariant(v SSLCertificateData_SslCertificateDataVariant)

func (*SSLCertificateData) String

func (x *SSLCertificateData) String() string

type SSLCertificateData_Cm

type SSLCertificateData_Cm struct {
	// Custom (add your SSL certificate by uploading the certificate
	// in PEM format and your private key).
	Cm *SSLCertificateCMData `protobuf:"bytes,1,opt,name=cm,proto3,oneof"`
}

type SSLCertificateData_SslCertificateDataVariant

type SSLCertificateData_SslCertificateDataVariant = isSSLCertificateData_SslCertificateDataVariant

type SSLCertificateStatus

type SSLCertificateStatus int32

A certificate status parameters.

const (
	// SSL certificate is unspecified.
	SSLCertificateStatus_SSL_CERTIFICATE_STATUS_UNSPECIFIED SSLCertificateStatus = 0
	// SSL certificate is ready to use.
	SSLCertificateStatus_READY SSLCertificateStatus = 1
	// The option is deprecated. SSL certificate is creating.
	//
	// Deprecated: Marked as deprecated in yandex/cloud/cdn/v1/resource.proto.
	SSLCertificateStatus_CREATING SSLCertificateStatus = 2
)

func (SSLCertificateStatus) Descriptor

func (SSLCertificateStatus) Enum

func (SSLCertificateStatus) EnumDescriptor deprecated

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

Deprecated: Use SSLCertificateStatus.Descriptor instead.

func (SSLCertificateStatus) Number

func (SSLCertificateStatus) String

func (x SSLCertificateStatus) String() string

func (SSLCertificateStatus) Type

type SSLCertificateType

type SSLCertificateType int32

A certificate type parameters.

const (
	// SSL certificate is unspecified.
	SSLCertificateType_SSL_CERTIFICATE_TYPE_UNSPECIFIED SSLCertificateType = 0
	// No SSL certificate is added, the requests are sent via HTTP.
	SSLCertificateType_DONT_USE SSLCertificateType = 1
	// The option is deprecated. Works only if you have already pointed your domain name to the protected IP address in your DNS.
	//
	// Deprecated: Marked as deprecated in yandex/cloud/cdn/v1/resource.proto.
	SSLCertificateType_LETS_ENCRYPT_GCORE SSLCertificateType = 2
	// Add your SSL certificate by uploading the certificate in PEM format and your private key.
	SSLCertificateType_CM SSLCertificateType = 3
)

func (SSLCertificateType) Descriptor

func (SSLCertificateType) Enum

func (SSLCertificateType) EnumDescriptor deprecated

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

Deprecated: Use SSLCertificateType.Descriptor instead.

func (SSLCertificateType) Number

func (SSLCertificateType) String

func (x SSLCertificateType) String() string

func (SSLCertificateType) Type

type SSLTargetCertificate

type SSLTargetCertificate struct {

	// Type of the certificate.
	Type SSLCertificateType `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.cdn.v1.SSLCertificateType" json:"type,omitempty"`
	// Certificate data.
	Data *SSLCertificateData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

A set of the personal SSL certificate parameters.

func (*SSLTargetCertificate) Descriptor deprecated

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

Deprecated: Use SSLTargetCertificate.ProtoReflect.Descriptor instead.

func (*SSLTargetCertificate) GetData

func (*SSLTargetCertificate) GetType

func (*SSLTargetCertificate) ProtoMessage

func (*SSLTargetCertificate) ProtoMessage()

func (*SSLTargetCertificate) ProtoReflect

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

func (*SSLTargetCertificate) Reset

func (x *SSLTargetCertificate) Reset()

func (*SSLTargetCertificate) SetData

func (*SSLTargetCertificate) SetType

func (*SSLTargetCertificate) String

func (x *SSLTargetCertificate) String() string

type SecondaryHostnames

type SecondaryHostnames struct {

	// List of secondary hostname values.
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

List of secondary (alternative) CNAMEs.

func (*SecondaryHostnames) Descriptor deprecated

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

Deprecated: Use SecondaryHostnames.ProtoReflect.Descriptor instead.

func (*SecondaryHostnames) GetValues

func (x *SecondaryHostnames) GetValues() []string

func (*SecondaryHostnames) ProtoMessage

func (*SecondaryHostnames) ProtoMessage()

func (*SecondaryHostnames) ProtoReflect

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

func (*SecondaryHostnames) Reset

func (x *SecondaryHostnames) Reset()

func (*SecondaryHostnames) SetValues

func (m *SecondaryHostnames) SetValues(v []string)

func (*SecondaryHostnames) String

func (x *SecondaryHostnames) String() string

type SecureKeyURLType

type SecureKeyURLType int32

SecureKeyURLType defines type of the URL signing.

const (
	SecureKeyURLType_SECURE_KEY_URL_TYPE_UNSPECIFIED SecureKeyURLType = 0
	// Use scpecific IP address in URL signing. URL will be availible only for this IP.
	SecureKeyURLType_ENABLE_IP_SIGNING SecureKeyURLType = 1
	// Sign URL without using IP address. URL will be available for all IP addresses.
	SecureKeyURLType_DISABLE_IP_SIGNING SecureKeyURLType = 2
)

func (SecureKeyURLType) Descriptor

func (SecureKeyURLType) Enum

func (SecureKeyURLType) EnumDescriptor deprecated

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

Deprecated: Use SecureKeyURLType.Descriptor instead.

func (SecureKeyURLType) Number

func (SecureKeyURLType) String

func (x SecureKeyURLType) String() string

func (SecureKeyURLType) Type

type UnimplementedCacheServiceServer

type UnimplementedCacheServiceServer struct {
}

UnimplementedCacheServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCacheServiceServer) Prefetch

func (UnimplementedCacheServiceServer) Purge

type UnimplementedOriginGroupServiceServer

type UnimplementedOriginGroupServiceServer struct {
}

UnimplementedOriginGroupServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedOriginGroupServiceServer) Create

func (UnimplementedOriginGroupServiceServer) Delete

func (UnimplementedOriginGroupServiceServer) Get

func (UnimplementedOriginGroupServiceServer) List

func (UnimplementedOriginGroupServiceServer) Update

type UnimplementedOriginServiceServer

type UnimplementedOriginServiceServer struct {
}

UnimplementedOriginServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedOriginServiceServer) Create

func (UnimplementedOriginServiceServer) Delete

func (UnimplementedOriginServiceServer) Get

func (UnimplementedOriginServiceServer) List

func (UnimplementedOriginServiceServer) Update

type UnimplementedProviderServiceServer

type UnimplementedProviderServiceServer struct {
}

UnimplementedProviderServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProviderServiceServer) Activate

type UnimplementedRawLogsServiceServer

type UnimplementedRawLogsServiceServer struct {
}

UnimplementedRawLogsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRawLogsServiceServer) Activate

func (UnimplementedRawLogsServiceServer) Deactivate

func (UnimplementedRawLogsServiceServer) Get

func (UnimplementedRawLogsServiceServer) Update

type UnimplementedResourceRulesServiceServer

type UnimplementedResourceRulesServiceServer struct {
}

UnimplementedResourceRulesServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedResourceRulesServiceServer) Create

func (UnimplementedResourceRulesServiceServer) Delete

func (UnimplementedResourceRulesServiceServer) Get

func (UnimplementedResourceRulesServiceServer) Update

type UnimplementedResourceServiceServer

type UnimplementedResourceServiceServer struct {
}

UnimplementedResourceServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedResourceServiceServer) Create

func (UnimplementedResourceServiceServer) Delete

func (UnimplementedResourceServiceServer) Get

func (UnimplementedResourceServiceServer) GetProviderCName

func (UnimplementedResourceServiceServer) List

func (UnimplementedResourceServiceServer) Update

type UnsafeCacheServiceServer

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

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

type UnsafeOriginGroupServiceServer

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

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

type UnsafeOriginServiceServer

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

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

type UnsafeProviderServiceServer

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

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

type UnsafeRawLogsServiceServer

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

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

type UnsafeResourceRulesServiceServer

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

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

type UnsafeResourceServiceServer

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

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

type UpdateOriginGroupMetadata

type UpdateOriginGroupMetadata struct {

	// ID of the origin group.
	OriginGroupId int64 `protobuf:"varint,1,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOriginGroupMetadata) Descriptor deprecated

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

Deprecated: Use UpdateOriginGroupMetadata.ProtoReflect.Descriptor instead.

func (*UpdateOriginGroupMetadata) GetOriginGroupId

func (x *UpdateOriginGroupMetadata) GetOriginGroupId() int64

func (*UpdateOriginGroupMetadata) ProtoMessage

func (*UpdateOriginGroupMetadata) ProtoMessage()

func (*UpdateOriginGroupMetadata) ProtoReflect

func (*UpdateOriginGroupMetadata) Reset

func (x *UpdateOriginGroupMetadata) Reset()

func (*UpdateOriginGroupMetadata) SetOriginGroupId

func (m *UpdateOriginGroupMetadata) SetOriginGroupId(v int64)

func (*UpdateOriginGroupMetadata) String

func (x *UpdateOriginGroupMetadata) String() string

type UpdateOriginGroupRequest

type UpdateOriginGroupRequest struct {

	// ID of the folder that the origin group belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the origin group.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// Name of the origin group.
	GroupName *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	// This option have two possible values:
	//
	//	True - The option is active. In case the origin responds with 4XX or 5XX
	//	       codes, use the next origin from the list.
	//	False - The option is disabled.
	UseNext *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=use_next,json=useNext,proto3" json:"use_next,omitempty"`
	// List of origins: IP addresses or Domain names of your origins and the port
	// (if custom).
	Origins []*OriginParams `protobuf:"bytes,5,rep,name=origins,proto3" json:"origins,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOriginGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateOriginGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateOriginGroupRequest) GetFolderId

func (x *UpdateOriginGroupRequest) GetFolderId() string

func (*UpdateOriginGroupRequest) GetGroupName

func (x *UpdateOriginGroupRequest) GetGroupName() *wrapperspb.StringValue

func (*UpdateOriginGroupRequest) GetOriginGroupId

func (x *UpdateOriginGroupRequest) GetOriginGroupId() int64

func (*UpdateOriginGroupRequest) GetOrigins

func (x *UpdateOriginGroupRequest) GetOrigins() []*OriginParams

func (*UpdateOriginGroupRequest) GetUseNext

func (*UpdateOriginGroupRequest) ProtoMessage

func (*UpdateOriginGroupRequest) ProtoMessage()

func (*UpdateOriginGroupRequest) ProtoReflect

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

func (*UpdateOriginGroupRequest) Reset

func (x *UpdateOriginGroupRequest) Reset()

func (*UpdateOriginGroupRequest) SetFolderId

func (m *UpdateOriginGroupRequest) SetFolderId(v string)

func (*UpdateOriginGroupRequest) SetGroupName

func (m *UpdateOriginGroupRequest) SetGroupName(v *wrapperspb.StringValue)

func (*UpdateOriginGroupRequest) SetOriginGroupId

func (m *UpdateOriginGroupRequest) SetOriginGroupId(v int64)

func (*UpdateOriginGroupRequest) SetOrigins

func (m *UpdateOriginGroupRequest) SetOrigins(v []*OriginParams)

func (*UpdateOriginGroupRequest) SetUseNext

func (m *UpdateOriginGroupRequest) SetUseNext(v *wrapperspb.BoolValue)

func (*UpdateOriginGroupRequest) String

func (x *UpdateOriginGroupRequest) String() string

type UpdateOriginMetadata

type UpdateOriginMetadata struct {

	// ID of the origin.
	OriginId int64 `protobuf:"varint,1,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// Parent origins group ID.
	OriginGroupId int64 `protobuf:"varint,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOriginMetadata) Descriptor deprecated

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

Deprecated: Use UpdateOriginMetadata.ProtoReflect.Descriptor instead.

func (*UpdateOriginMetadata) GetOriginGroupId

func (x *UpdateOriginMetadata) GetOriginGroupId() int64

func (*UpdateOriginMetadata) GetOriginId

func (x *UpdateOriginMetadata) GetOriginId() int64

func (*UpdateOriginMetadata) ProtoMessage

func (*UpdateOriginMetadata) ProtoMessage()

func (*UpdateOriginMetadata) ProtoReflect

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

func (*UpdateOriginMetadata) Reset

func (x *UpdateOriginMetadata) Reset()

func (*UpdateOriginMetadata) SetOriginGroupId

func (m *UpdateOriginMetadata) SetOriginGroupId(v int64)

func (*UpdateOriginMetadata) SetOriginId

func (m *UpdateOriginMetadata) SetOriginId(v int64)

func (*UpdateOriginMetadata) String

func (x *UpdateOriginMetadata) String() string

type UpdateOriginRequest

type UpdateOriginRequest struct {

	// ID of the folder that the origin belongs to.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the origin.
	OriginId int64 `protobuf:"varint,2,opt,name=origin_id,json=originId,proto3" json:"origin_id,omitempty"`
	// IP address or Domain name of your origin and the port (if custom).
	// Used if [meta] variant is `common`.
	// Required.
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// The setting allows to enable or disable an Origin source in the Origins group.
	//
	// It has two possible values:
	//
	// True - The origin is enabled and used as a source for the CDN. An origins
	// group must contain at least one enabled origin. Default value.
	// False - The origin is disabled and the CDN is not using it to pull content.
	//
	// Required.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Specifies whether the origin is used in its origin group as backup.
	// A backup origin is used when one of active origins becomes unavailable.
	//
	// Required.
	Backup bool `protobuf:"varint,5,opt,name=backup,proto3" json:"backup,omitempty"`
	// Set up type of the origin.
	Meta *OriginMeta `protobuf:"bytes,6,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOriginRequest) Descriptor deprecated

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

Deprecated: Use UpdateOriginRequest.ProtoReflect.Descriptor instead.

func (*UpdateOriginRequest) GetBackup

func (x *UpdateOriginRequest) GetBackup() bool

func (*UpdateOriginRequest) GetEnabled

func (x *UpdateOriginRequest) GetEnabled() bool

func (*UpdateOriginRequest) GetFolderId

func (x *UpdateOriginRequest) GetFolderId() string

func (*UpdateOriginRequest) GetMeta

func (x *UpdateOriginRequest) GetMeta() *OriginMeta

func (*UpdateOriginRequest) GetOriginId

func (x *UpdateOriginRequest) GetOriginId() int64

func (*UpdateOriginRequest) GetSource

func (x *UpdateOriginRequest) GetSource() string

func (*UpdateOriginRequest) ProtoMessage

func (*UpdateOriginRequest) ProtoMessage()

func (*UpdateOriginRequest) ProtoReflect

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

func (*UpdateOriginRequest) Reset

func (x *UpdateOriginRequest) Reset()

func (*UpdateOriginRequest) SetBackup

func (m *UpdateOriginRequest) SetBackup(v bool)

func (*UpdateOriginRequest) SetEnabled

func (m *UpdateOriginRequest) SetEnabled(v bool)

func (*UpdateOriginRequest) SetFolderId

func (m *UpdateOriginRequest) SetFolderId(v string)

func (*UpdateOriginRequest) SetMeta

func (m *UpdateOriginRequest) SetMeta(v *OriginMeta)

func (*UpdateOriginRequest) SetOriginId

func (m *UpdateOriginRequest) SetOriginId(v int64)

func (*UpdateOriginRequest) SetSource

func (m *UpdateOriginRequest) SetSource(v string)

func (*UpdateOriginRequest) String

func (x *UpdateOriginRequest) String() string

type UpdateRawLogsMetadata

type UpdateRawLogsMetadata struct {

	// ID of CDN resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRawLogsMetadata) Descriptor deprecated

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

Deprecated: Use UpdateRawLogsMetadata.ProtoReflect.Descriptor instead.

func (*UpdateRawLogsMetadata) GetResourceId

func (x *UpdateRawLogsMetadata) GetResourceId() string

func (*UpdateRawLogsMetadata) ProtoMessage

func (*UpdateRawLogsMetadata) ProtoMessage()

func (*UpdateRawLogsMetadata) ProtoReflect

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

func (*UpdateRawLogsMetadata) Reset

func (x *UpdateRawLogsMetadata) Reset()

func (*UpdateRawLogsMetadata) SetResourceId

func (m *UpdateRawLogsMetadata) SetResourceId(v string)

func (*UpdateRawLogsMetadata) String

func (x *UpdateRawLogsMetadata) String() string

type UpdateRawLogsRequest

type UpdateRawLogsRequest struct {

	// ID of CDN resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Raw logs settings.
	Settings *RawLogsSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRawLogsRequest) Descriptor deprecated

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

Deprecated: Use UpdateRawLogsRequest.ProtoReflect.Descriptor instead.

func (*UpdateRawLogsRequest) GetResourceId

func (x *UpdateRawLogsRequest) GetResourceId() string

func (*UpdateRawLogsRequest) GetSettings

func (x *UpdateRawLogsRequest) GetSettings() *RawLogsSettings

func (*UpdateRawLogsRequest) ProtoMessage

func (*UpdateRawLogsRequest) ProtoMessage()

func (*UpdateRawLogsRequest) ProtoReflect

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

func (*UpdateRawLogsRequest) Reset

func (x *UpdateRawLogsRequest) Reset()

func (*UpdateRawLogsRequest) SetResourceId

func (m *UpdateRawLogsRequest) SetResourceId(v string)

func (*UpdateRawLogsRequest) SetSettings

func (m *UpdateRawLogsRequest) SetSettings(v *RawLogsSettings)

func (*UpdateRawLogsRequest) String

func (x *UpdateRawLogsRequest) String() string

type UpdateRawLogsResponse

type UpdateRawLogsResponse struct {

	// Raw logs status.
	Status RawLogsStatus `protobuf:"varint,1,opt,name=status,proto3,enum=yandex.cloud.cdn.v1.RawLogsStatus" json:"status,omitempty"`
	// Raw logs settings.
	Settings *RawLogsSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRawLogsResponse) Descriptor deprecated

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

Deprecated: Use UpdateRawLogsResponse.ProtoReflect.Descriptor instead.

func (*UpdateRawLogsResponse) GetSettings

func (x *UpdateRawLogsResponse) GetSettings() *RawLogsSettings

func (*UpdateRawLogsResponse) GetStatus

func (x *UpdateRawLogsResponse) GetStatus() RawLogsStatus

func (*UpdateRawLogsResponse) ProtoMessage

func (*UpdateRawLogsResponse) ProtoMessage()

func (*UpdateRawLogsResponse) ProtoReflect

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

func (*UpdateRawLogsResponse) Reset

func (x *UpdateRawLogsResponse) Reset()

func (*UpdateRawLogsResponse) SetSettings

func (m *UpdateRawLogsResponse) SetSettings(v *RawLogsSettings)

func (*UpdateRawLogsResponse) SetStatus

func (m *UpdateRawLogsResponse) SetStatus(v RawLogsStatus)

func (*UpdateRawLogsResponse) String

func (x *UpdateRawLogsResponse) String() string

type UpdateResourceMetadata

type UpdateResourceMetadata struct {

	// ID of updated resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceMetadata) Descriptor deprecated

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

Deprecated: Use UpdateResourceMetadata.ProtoReflect.Descriptor instead.

func (*UpdateResourceMetadata) GetResourceId

func (x *UpdateResourceMetadata) GetResourceId() string

func (*UpdateResourceMetadata) ProtoMessage

func (*UpdateResourceMetadata) ProtoMessage()

func (*UpdateResourceMetadata) ProtoReflect

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

func (*UpdateResourceMetadata) Reset

func (x *UpdateResourceMetadata) Reset()

func (*UpdateResourceMetadata) SetResourceId

func (m *UpdateResourceMetadata) SetResourceId(v string)

func (*UpdateResourceMetadata) String

func (x *UpdateResourceMetadata) String() string

type UpdateResourceRequest

type UpdateResourceRequest struct {

	// ID of updated resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of updated origin group.
	OriginGroupId *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=origin_group_id,json=originGroupId,proto3" json:"origin_group_id,omitempty"`
	// List of additional CNAMEs.
	SecondaryHostnames *SecondaryHostnames `protobuf:"bytes,3,opt,name=secondary_hostnames,json=secondaryHostnames,proto3" json:"secondary_hostnames,omitempty"`
	// Resource settings and options to tune CDN edge behavior.
	Options *ResourceOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
	// Specify the protocol schema to be used in communication with origin.
	OriginProtocol OriginProtocol `` /* 144-byte string literal not displayed */
	// Flag to create Resource either in active or disabled state.
	// In active state Origins payload could be transmitted from CDN CNAME requests.
	// Default value: true
	Active *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=active,proto3" json:"active,omitempty"`
	// SSL Certificate options.
	SslCertificate *SSLTargetCertificate `protobuf:"bytes,7,opt,name=ssl_certificate,json=sslCertificate,proto3" json:"ssl_certificate,omitempty"`
	// Resource labels. At some point will be needed for granular detailing.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateResourceRequest) Descriptor deprecated

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

Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetActive

func (x *UpdateResourceRequest) GetActive() *wrapperspb.BoolValue

func (*UpdateResourceRequest) GetLabels

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

func (*UpdateResourceRequest) GetOptions

func (x *UpdateResourceRequest) GetOptions() *ResourceOptions

func (*UpdateResourceRequest) GetOriginGroupId

func (x *UpdateResourceRequest) GetOriginGroupId() *wrapperspb.Int64Value

func (*UpdateResourceRequest) GetOriginProtocol

func (x *UpdateResourceRequest) GetOriginProtocol() OriginProtocol

func (*UpdateResourceRequest) GetResourceId

func (x *UpdateResourceRequest) GetResourceId() string

func (*UpdateResourceRequest) GetSecondaryHostnames

func (x *UpdateResourceRequest) GetSecondaryHostnames() *SecondaryHostnames

func (*UpdateResourceRequest) GetSslCertificate

func (x *UpdateResourceRequest) GetSslCertificate() *SSLTargetCertificate

func (*UpdateResourceRequest) ProtoMessage

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect

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

func (*UpdateResourceRequest) Reset

func (x *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) SetActive

func (m *UpdateResourceRequest) SetActive(v *wrapperspb.BoolValue)

func (*UpdateResourceRequest) SetLabels

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

func (*UpdateResourceRequest) SetOptions

func (m *UpdateResourceRequest) SetOptions(v *ResourceOptions)

func (*UpdateResourceRequest) SetOriginGroupId

func (m *UpdateResourceRequest) SetOriginGroupId(v *wrapperspb.Int64Value)

func (*UpdateResourceRequest) SetOriginProtocol

func (m *UpdateResourceRequest) SetOriginProtocol(v OriginProtocol)

func (*UpdateResourceRequest) SetResourceId

func (m *UpdateResourceRequest) SetResourceId(v string)

func (*UpdateResourceRequest) SetSecondaryHostnames

func (m *UpdateResourceRequest) SetSecondaryHostnames(v *SecondaryHostnames)

func (*UpdateResourceRequest) SetSslCertificate

func (m *UpdateResourceRequest) SetSslCertificate(v *SSLTargetCertificate)

func (*UpdateResourceRequest) String

func (x *UpdateResourceRequest) String() string

type UpdateResourceRuleMetadata

type UpdateResourceRuleMetadata struct {

	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of updated resource rule.
	RuleId int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceRuleMetadata) Descriptor deprecated

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

Deprecated: Use UpdateResourceRuleMetadata.ProtoReflect.Descriptor instead.

func (*UpdateResourceRuleMetadata) GetResourceId

func (x *UpdateResourceRuleMetadata) GetResourceId() string

func (*UpdateResourceRuleMetadata) GetRuleId

func (x *UpdateResourceRuleMetadata) GetRuleId() int64

func (*UpdateResourceRuleMetadata) ProtoMessage

func (*UpdateResourceRuleMetadata) ProtoMessage()

func (*UpdateResourceRuleMetadata) ProtoReflect

func (*UpdateResourceRuleMetadata) Reset

func (x *UpdateResourceRuleMetadata) Reset()

func (*UpdateResourceRuleMetadata) SetResourceId

func (m *UpdateResourceRuleMetadata) SetResourceId(v string)

func (*UpdateResourceRuleMetadata) SetRuleId

func (m *UpdateResourceRuleMetadata) SetRuleId(v int64)

func (*UpdateResourceRuleMetadata) String

func (x *UpdateResourceRuleMetadata) String() string

type UpdateResourceRuleRequest

type UpdateResourceRuleRequest struct {

	// ID of resource.
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// ID of updated resource rule.
	RuleId int64 `protobuf:"varint,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// Name of updated resource rule.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Resource rule pattern.
	RulePattern string           `protobuf:"bytes,4,opt,name=rule_pattern,json=rulePattern,proto3" json:"rule_pattern,omitempty"`
	Options     *ResourceOptions `protobuf:"bytes,5,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceRuleRequest) Descriptor deprecated

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

Deprecated: Use UpdateResourceRuleRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRuleRequest) GetName

func (x *UpdateResourceRuleRequest) GetName() string

func (*UpdateResourceRuleRequest) GetOptions

func (x *UpdateResourceRuleRequest) GetOptions() *ResourceOptions

func (*UpdateResourceRuleRequest) GetResourceId

func (x *UpdateResourceRuleRequest) GetResourceId() string

func (*UpdateResourceRuleRequest) GetRuleId

func (x *UpdateResourceRuleRequest) GetRuleId() int64

func (*UpdateResourceRuleRequest) GetRulePattern

func (x *UpdateResourceRuleRequest) GetRulePattern() string

func (*UpdateResourceRuleRequest) ProtoMessage

func (*UpdateResourceRuleRequest) ProtoMessage()

func (*UpdateResourceRuleRequest) ProtoReflect

func (*UpdateResourceRuleRequest) Reset

func (x *UpdateResourceRuleRequest) Reset()

func (*UpdateResourceRuleRequest) SetName

func (m *UpdateResourceRuleRequest) SetName(v string)

func (*UpdateResourceRuleRequest) SetOptions

func (m *UpdateResourceRuleRequest) SetOptions(v *ResourceOptions)

func (*UpdateResourceRuleRequest) SetResourceId

func (m *UpdateResourceRuleRequest) SetResourceId(v string)

func (*UpdateResourceRuleRequest) SetRuleId

func (m *UpdateResourceRuleRequest) SetRuleId(v int64)

func (*UpdateResourceRuleRequest) SetRulePattern

func (m *UpdateResourceRuleRequest) SetRulePattern(v string)

func (*UpdateResourceRuleRequest) String

func (x *UpdateResourceRuleRequest) String() string

Jump to

Keyboard shortcuts

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