Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterCacheServiceServer(s grpc.ServiceRegistrar, srv CacheServiceServer)
- func RegisterOriginGroupServiceServer(s grpc.ServiceRegistrar, srv OriginGroupServiceServer)
- func RegisterOriginServiceServer(s grpc.ServiceRegistrar, srv OriginServiceServer)
- func RegisterProviderServiceServer(s grpc.ServiceRegistrar, srv ProviderServiceServer)
- func RegisterRawLogsServiceServer(s grpc.ServiceRegistrar, srv RawLogsServiceServer)
- func RegisterResourceRulesServiceServer(s grpc.ServiceRegistrar, srv ResourceRulesServiceServer)
- func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)
- type ActivateProviderMetadata
- func (*ActivateProviderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateProviderMetadata) GetFolderId() string
- func (*ActivateProviderMetadata) ProtoMessage()
- func (x *ActivateProviderMetadata) ProtoReflect() protoreflect.Message
- func (x *ActivateProviderMetadata) Reset()
- func (m *ActivateProviderMetadata) SetFolderId(v string)
- func (x *ActivateProviderMetadata) String() string
- type ActivateProviderRequest
- func (*ActivateProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateProviderRequest) GetFolderId() string
- func (x *ActivateProviderRequest) GetProviderType() string
- func (*ActivateProviderRequest) ProtoMessage()
- func (x *ActivateProviderRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateProviderRequest) Reset()
- func (m *ActivateProviderRequest) SetFolderId(v string)
- func (m *ActivateProviderRequest) SetProviderType(v string)
- func (x *ActivateProviderRequest) String() string
- type ActivateRawLogsMetadata
- func (*ActivateRawLogsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateRawLogsMetadata) GetResourceId() string
- func (*ActivateRawLogsMetadata) ProtoMessage()
- func (x *ActivateRawLogsMetadata) ProtoReflect() protoreflect.Message
- func (x *ActivateRawLogsMetadata) Reset()
- func (m *ActivateRawLogsMetadata) SetResourceId(v string)
- func (x *ActivateRawLogsMetadata) String() string
- type ActivateRawLogsRequest
- func (*ActivateRawLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateRawLogsRequest) GetResourceId() string
- func (x *ActivateRawLogsRequest) GetSettings() *RawLogsSettings
- func (*ActivateRawLogsRequest) ProtoMessage()
- func (x *ActivateRawLogsRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateRawLogsRequest) Reset()
- func (m *ActivateRawLogsRequest) SetResourceId(v string)
- func (m *ActivateRawLogsRequest) SetSettings(v *RawLogsSettings)
- func (x *ActivateRawLogsRequest) String() string
- type ActivateRawLogsResponse
- func (*ActivateRawLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateRawLogsResponse) GetSettings() *RawLogsSettings
- func (x *ActivateRawLogsResponse) GetStatus() RawLogsStatus
- func (*ActivateRawLogsResponse) ProtoMessage()
- func (x *ActivateRawLogsResponse) ProtoReflect() protoreflect.Message
- func (x *ActivateRawLogsResponse) Reset()
- func (m *ActivateRawLogsResponse) SetSettings(v *RawLogsSettings)
- func (m *ActivateRawLogsResponse) SetStatus(v RawLogsStatus)
- func (x *ActivateRawLogsResponse) String() string
- type CacheServiceClient
- type CacheServiceServer
- type CreateOriginGroupMetadata
- func (*CreateOriginGroupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOriginGroupMetadata) GetOriginGroupId() int64
- func (*CreateOriginGroupMetadata) ProtoMessage()
- func (x *CreateOriginGroupMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateOriginGroupMetadata) Reset()
- func (m *CreateOriginGroupMetadata) SetOriginGroupId(v int64)
- func (x *CreateOriginGroupMetadata) String() string
- type CreateOriginGroupRequest
- func (*CreateOriginGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOriginGroupRequest) GetFolderId() string
- func (x *CreateOriginGroupRequest) GetName() string
- func (x *CreateOriginGroupRequest) GetOrigins() []*OriginParams
- func (x *CreateOriginGroupRequest) GetUseNext() *wrapperspb.BoolValue
- func (*CreateOriginGroupRequest) ProtoMessage()
- func (x *CreateOriginGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOriginGroupRequest) Reset()
- func (m *CreateOriginGroupRequest) SetFolderId(v string)
- func (m *CreateOriginGroupRequest) SetName(v string)
- func (m *CreateOriginGroupRequest) SetOrigins(v []*OriginParams)
- func (m *CreateOriginGroupRequest) SetUseNext(v *wrapperspb.BoolValue)
- func (x *CreateOriginGroupRequest) String() string
- type CreateOriginMetadata
- func (*CreateOriginMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOriginMetadata) GetOriginGroupId() int64
- func (x *CreateOriginMetadata) GetOriginId() int64
- func (*CreateOriginMetadata) ProtoMessage()
- func (x *CreateOriginMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateOriginMetadata) Reset()
- func (m *CreateOriginMetadata) SetOriginGroupId(v int64)
- func (m *CreateOriginMetadata) SetOriginId(v int64)
- func (x *CreateOriginMetadata) String() string
- type CreateOriginRequest
- func (*CreateOriginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOriginRequest) GetBackup() *wrapperspb.BoolValue
- func (x *CreateOriginRequest) GetEnabled() *wrapperspb.BoolValue
- func (x *CreateOriginRequest) GetFolderId() string
- func (x *CreateOriginRequest) GetMeta() *OriginMeta
- func (x *CreateOriginRequest) GetOriginGroupId() int64
- func (x *CreateOriginRequest) GetSource() string
- func (*CreateOriginRequest) ProtoMessage()
- func (x *CreateOriginRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOriginRequest) Reset()
- func (m *CreateOriginRequest) SetBackup(v *wrapperspb.BoolValue)
- func (m *CreateOriginRequest) SetEnabled(v *wrapperspb.BoolValue)
- func (m *CreateOriginRequest) SetFolderId(v string)
- func (m *CreateOriginRequest) SetMeta(v *OriginMeta)
- func (m *CreateOriginRequest) SetOriginGroupId(v int64)
- func (m *CreateOriginRequest) SetSource(v string)
- func (x *CreateOriginRequest) String() string
- type CreateResourceMetadata
- func (*CreateResourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceMetadata) GetResourceId() string
- func (*CreateResourceMetadata) ProtoMessage()
- func (x *CreateResourceMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateResourceMetadata) Reset()
- func (m *CreateResourceMetadata) SetResourceId(v string)
- func (x *CreateResourceMetadata) String() string
- type CreateResourceRequest
- func (*CreateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceRequest) GetActive() *wrapperspb.BoolValue
- func (x *CreateResourceRequest) GetCname() string
- func (x *CreateResourceRequest) GetFolderId() string
- func (x *CreateResourceRequest) GetLabels() map[string]string
- func (x *CreateResourceRequest) GetOptions() *ResourceOptions
- func (x *CreateResourceRequest) GetOrigin() *CreateResourceRequest_Origin
- func (x *CreateResourceRequest) GetOriginProtocol() OriginProtocol
- func (x *CreateResourceRequest) GetSecondaryHostnames() *SecondaryHostnames
- func (x *CreateResourceRequest) GetSslCertificate() *SSLTargetCertificate
- func (*CreateResourceRequest) ProtoMessage()
- func (x *CreateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceRequest) Reset()
- func (m *CreateResourceRequest) SetActive(v *wrapperspb.BoolValue)
- func (m *CreateResourceRequest) SetCname(v string)
- func (m *CreateResourceRequest) SetFolderId(v string)
- func (m *CreateResourceRequest) SetLabels(v map[string]string)
- func (m *CreateResourceRequest) SetOptions(v *ResourceOptions)
- func (m *CreateResourceRequest) SetOrigin(v *CreateResourceRequest_Origin)
- func (m *CreateResourceRequest) SetOriginProtocol(v OriginProtocol)
- func (m *CreateResourceRequest) SetSecondaryHostnames(v *SecondaryHostnames)
- func (m *CreateResourceRequest) SetSslCertificate(v *SSLTargetCertificate)
- func (x *CreateResourceRequest) String() string
- type CreateResourceRequest_Origin
- func (*CreateResourceRequest_Origin) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceRequest_Origin) GetOriginGroupId() int64
- func (x *CreateResourceRequest_Origin) GetOriginSource() string
- func (x *CreateResourceRequest_Origin) GetOriginSourceParams() *ResourceOriginParams
- func (m *CreateResourceRequest_Origin) GetOriginVariant() isCreateResourceRequest_Origin_OriginVariant
- func (*CreateResourceRequest_Origin) ProtoMessage()
- func (x *CreateResourceRequest_Origin) ProtoReflect() protoreflect.Message
- func (x *CreateResourceRequest_Origin) Reset()
- func (m *CreateResourceRequest_Origin) SetOriginGroupId(v int64)
- func (m *CreateResourceRequest_Origin) SetOriginSource(v string)
- func (m *CreateResourceRequest_Origin) SetOriginSourceParams(v *ResourceOriginParams)
- func (m *CreateResourceRequest_Origin) SetOriginVariant(v CreateResourceRequest_Origin_OriginVariant)
- func (x *CreateResourceRequest_Origin) String() string
- type CreateResourceRequest_Origin_OriginGroupId
- type CreateResourceRequest_Origin_OriginSource
- type CreateResourceRequest_Origin_OriginSourceParams
- type CreateResourceRequest_Origin_OriginVariant
- type CreateResourceRuleMetadata
- func (*CreateResourceRuleMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceRuleMetadata) GetResourceId() string
- func (x *CreateResourceRuleMetadata) GetRuleId() int64
- func (*CreateResourceRuleMetadata) ProtoMessage()
- func (x *CreateResourceRuleMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateResourceRuleMetadata) Reset()
- func (m *CreateResourceRuleMetadata) SetResourceId(v string)
- func (m *CreateResourceRuleMetadata) SetRuleId(v int64)
- func (x *CreateResourceRuleMetadata) String() string
- type CreateResourceRuleRequest
- func (*CreateResourceRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResourceRuleRequest) GetName() string
- func (x *CreateResourceRuleRequest) GetOptions() *ResourceOptions
- func (x *CreateResourceRuleRequest) GetResourceId() string
- func (x *CreateResourceRuleRequest) GetRulePattern() string
- func (*CreateResourceRuleRequest) ProtoMessage()
- func (x *CreateResourceRuleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateResourceRuleRequest) Reset()
- func (m *CreateResourceRuleRequest) SetName(v string)
- func (m *CreateResourceRuleRequest) SetOptions(v *ResourceOptions)
- func (m *CreateResourceRuleRequest) SetResourceId(v string)
- func (m *CreateResourceRuleRequest) SetRulePattern(v string)
- func (x *CreateResourceRuleRequest) String() string
- type DeactivateRawLogsMetadata
- func (*DeactivateRawLogsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateRawLogsMetadata) GetResourceId() string
- func (*DeactivateRawLogsMetadata) ProtoMessage()
- func (x *DeactivateRawLogsMetadata) ProtoReflect() protoreflect.Message
- func (x *DeactivateRawLogsMetadata) Reset()
- func (m *DeactivateRawLogsMetadata) SetResourceId(v string)
- func (x *DeactivateRawLogsMetadata) String() string
- type DeactivateRawLogsRequest
- func (*DeactivateRawLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateRawLogsRequest) GetResourceId() string
- func (*DeactivateRawLogsRequest) ProtoMessage()
- func (x *DeactivateRawLogsRequest) ProtoReflect() protoreflect.Message
- func (x *DeactivateRawLogsRequest) Reset()
- func (m *DeactivateRawLogsRequest) SetResourceId(v string)
- func (x *DeactivateRawLogsRequest) String() string
- type DeleteOriginGroupMetadata
- func (*DeleteOriginGroupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOriginGroupMetadata) GetOriginGroupId() int64
- func (*DeleteOriginGroupMetadata) ProtoMessage()
- func (x *DeleteOriginGroupMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteOriginGroupMetadata) Reset()
- func (m *DeleteOriginGroupMetadata) SetOriginGroupId(v int64)
- func (x *DeleteOriginGroupMetadata) String() string
- type DeleteOriginGroupRequest
- func (*DeleteOriginGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOriginGroupRequest) GetFolderId() string
- func (x *DeleteOriginGroupRequest) GetOriginGroupId() int64
- func (*DeleteOriginGroupRequest) ProtoMessage()
- func (x *DeleteOriginGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOriginGroupRequest) Reset()
- func (m *DeleteOriginGroupRequest) SetFolderId(v string)
- func (m *DeleteOriginGroupRequest) SetOriginGroupId(v int64)
- func (x *DeleteOriginGroupRequest) String() string
- type DeleteOriginMetadata
- func (*DeleteOriginMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOriginMetadata) GetOriginId() int64
- func (*DeleteOriginMetadata) ProtoMessage()
- func (x *DeleteOriginMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteOriginMetadata) Reset()
- func (m *DeleteOriginMetadata) SetOriginId(v int64)
- func (x *DeleteOriginMetadata) String() string
- type DeleteOriginRequest
- func (*DeleteOriginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOriginRequest) GetFolderId() string
- func (x *DeleteOriginRequest) GetOriginId() int64
- func (*DeleteOriginRequest) ProtoMessage()
- func (x *DeleteOriginRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOriginRequest) Reset()
- func (m *DeleteOriginRequest) SetFolderId(v string)
- func (m *DeleteOriginRequest) SetOriginId(v int64)
- func (x *DeleteOriginRequest) String() string
- type DeleteResourceMetadata
- func (*DeleteResourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceMetadata) GetResourceId() string
- func (*DeleteResourceMetadata) ProtoMessage()
- func (x *DeleteResourceMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceMetadata) Reset()
- func (m *DeleteResourceMetadata) SetResourceId(v string)
- func (x *DeleteResourceMetadata) String() string
- type DeleteResourceRequest
- func (*DeleteResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceRequest) GetResourceId() string
- func (*DeleteResourceRequest) ProtoMessage()
- func (x *DeleteResourceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceRequest) Reset()
- func (m *DeleteResourceRequest) SetResourceId(v string)
- func (x *DeleteResourceRequest) String() string
- type DeleteResourceRuleMetadata
- func (*DeleteResourceRuleMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceRuleMetadata) GetResourceId() string
- func (x *DeleteResourceRuleMetadata) GetRuleId() int64
- func (*DeleteResourceRuleMetadata) ProtoMessage()
- func (x *DeleteResourceRuleMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceRuleMetadata) Reset()
- func (m *DeleteResourceRuleMetadata) SetResourceId(v string)
- func (m *DeleteResourceRuleMetadata) SetRuleId(v int64)
- func (x *DeleteResourceRuleMetadata) String() string
- type DeleteResourceRuleRequest
- func (*DeleteResourceRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResourceRuleRequest) GetResourceId() string
- func (x *DeleteResourceRuleRequest) GetRuleId() int64
- func (*DeleteResourceRuleRequest) ProtoMessage()
- func (x *DeleteResourceRuleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResourceRuleRequest) Reset()
- func (m *DeleteResourceRuleRequest) SetResourceId(v string)
- func (m *DeleteResourceRuleRequest) SetRuleId(v int64)
- func (x *DeleteResourceRuleRequest) String() string
- type GetOriginGroupRequest
- func (*GetOriginGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOriginGroupRequest) GetFolderId() string
- func (x *GetOriginGroupRequest) GetOriginGroupId() int64
- func (*GetOriginGroupRequest) ProtoMessage()
- func (x *GetOriginGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetOriginGroupRequest) Reset()
- func (m *GetOriginGroupRequest) SetFolderId(v string)
- func (m *GetOriginGroupRequest) SetOriginGroupId(v int64)
- func (x *GetOriginGroupRequest) String() string
- type GetOriginRequest
- func (*GetOriginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOriginRequest) GetFolderId() string
- func (x *GetOriginRequest) GetOriginId() int64
- func (*GetOriginRequest) ProtoMessage()
- func (x *GetOriginRequest) ProtoReflect() protoreflect.Message
- func (x *GetOriginRequest) Reset()
- func (m *GetOriginRequest) SetFolderId(v string)
- func (m *GetOriginRequest) SetOriginId(v int64)
- func (x *GetOriginRequest) String() string
- type GetProviderCNameRequest
- func (*GetProviderCNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderCNameRequest) GetFolderId() string
- func (*GetProviderCNameRequest) ProtoMessage()
- func (x *GetProviderCNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetProviderCNameRequest) Reset()
- func (m *GetProviderCNameRequest) SetFolderId(v string)
- func (x *GetProviderCNameRequest) String() string
- type GetProviderCNameResponse
- func (*GetProviderCNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderCNameResponse) GetCname() string
- func (x *GetProviderCNameResponse) GetFolderId() string
- func (*GetProviderCNameResponse) ProtoMessage()
- func (x *GetProviderCNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetProviderCNameResponse) Reset()
- func (m *GetProviderCNameResponse) SetCname(v string)
- func (m *GetProviderCNameResponse) SetFolderId(v string)
- func (x *GetProviderCNameResponse) String() string
- type GetRawLogsRequest
- func (*GetRawLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawLogsRequest) GetResourceId() string
- func (*GetRawLogsRequest) ProtoMessage()
- func (x *GetRawLogsRequest) ProtoReflect() protoreflect.Message
- func (x *GetRawLogsRequest) Reset()
- func (m *GetRawLogsRequest) SetResourceId(v string)
- func (x *GetRawLogsRequest) String() string
- type GetRawLogsResponse
- func (*GetRawLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRawLogsResponse) GetSettings() *RawLogsSettings
- func (x *GetRawLogsResponse) GetStatus() RawLogsStatus
- func (*GetRawLogsResponse) ProtoMessage()
- func (x *GetRawLogsResponse) ProtoReflect() protoreflect.Message
- func (x *GetRawLogsResponse) Reset()
- func (m *GetRawLogsResponse) SetSettings(v *RawLogsSettings)
- func (m *GetRawLogsResponse) SetStatus(v RawLogsStatus)
- func (x *GetRawLogsResponse) String() string
- type GetResourceRequest
- func (*GetResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceRequest) GetResourceId() string
- func (*GetResourceRequest) ProtoMessage()
- func (x *GetResourceRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceRequest) Reset()
- func (m *GetResourceRequest) SetResourceId(v string)
- func (x *GetResourceRequest) String() string
- type GetResourceRuleRequest
- func (*GetResourceRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourceRuleRequest) GetResourceId() string
- func (x *GetResourceRuleRequest) GetRuleId() int64
- func (*GetResourceRuleRequest) ProtoMessage()
- func (x *GetResourceRuleRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourceRuleRequest) Reset()
- func (m *GetResourceRuleRequest) SetResourceId(v string)
- func (m *GetResourceRuleRequest) SetRuleId(v int64)
- func (x *GetResourceRuleRequest) String() string
- type ListActivatedProvidersRequest
- func (*ListActivatedProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivatedProvidersRequest) GetFolderId() string
- func (*ListActivatedProvidersRequest) ProtoMessage()
- func (x *ListActivatedProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *ListActivatedProvidersRequest) Reset()
- func (m *ListActivatedProvidersRequest) SetFolderId(v string)
- func (x *ListActivatedProvidersRequest) String() string
- type ListActivatedProvidersResponse
- func (*ListActivatedProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivatedProvidersResponse) GetProviders() []string
- func (*ListActivatedProvidersResponse) ProtoMessage()
- func (x *ListActivatedProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *ListActivatedProvidersResponse) Reset()
- func (m *ListActivatedProvidersResponse) SetProviders(v []string)
- func (x *ListActivatedProvidersResponse) String() string
- type ListOriginGroupsRequest
- func (*ListOriginGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOriginGroupsRequest) GetFolderId() string
- func (x *ListOriginGroupsRequest) GetPageSize() int64
- func (x *ListOriginGroupsRequest) GetPageToken() string
- func (*ListOriginGroupsRequest) ProtoMessage()
- func (x *ListOriginGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOriginGroupsRequest) Reset()
- func (m *ListOriginGroupsRequest) SetFolderId(v string)
- func (m *ListOriginGroupsRequest) SetPageSize(v int64)
- func (m *ListOriginGroupsRequest) SetPageToken(v string)
- func (x *ListOriginGroupsRequest) String() string
- type ListOriginGroupsResponse
- func (*ListOriginGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOriginGroupsResponse) GetNextPageToken() string
- func (x *ListOriginGroupsResponse) GetOriginGroups() []*OriginGroup
- func (*ListOriginGroupsResponse) ProtoMessage()
- func (x *ListOriginGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOriginGroupsResponse) Reset()
- func (m *ListOriginGroupsResponse) SetNextPageToken(v string)
- func (m *ListOriginGroupsResponse) SetOriginGroups(v []*OriginGroup)
- func (x *ListOriginGroupsResponse) String() string
- type ListOriginsRequest
- func (*ListOriginsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOriginsRequest) GetFolderId() string
- func (x *ListOriginsRequest) GetOriginGroupId() int64
- func (*ListOriginsRequest) ProtoMessage()
- func (x *ListOriginsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOriginsRequest) Reset()
- func (m *ListOriginsRequest) SetFolderId(v string)
- func (m *ListOriginsRequest) SetOriginGroupId(v int64)
- func (x *ListOriginsRequest) String() string
- type ListOriginsResponse
- func (*ListOriginsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOriginsResponse) GetOrigins() []*Origin
- func (*ListOriginsResponse) ProtoMessage()
- func (x *ListOriginsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOriginsResponse) Reset()
- func (m *ListOriginsResponse) SetOrigins(v []*Origin)
- func (x *ListOriginsResponse) String() string
- type ListResourceRulesRequest
- func (*ListResourceRulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceRulesRequest) GetResourceId() string
- func (*ListResourceRulesRequest) ProtoMessage()
- func (x *ListResourceRulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourceRulesRequest) Reset()
- func (m *ListResourceRulesRequest) SetResourceId(v string)
- func (x *ListResourceRulesRequest) String() string
- type ListResourceRulesResponse
- func (*ListResourceRulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourceRulesResponse) GetRules() []*Rule
- func (*ListResourceRulesResponse) ProtoMessage()
- func (x *ListResourceRulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourceRulesResponse) Reset()
- func (m *ListResourceRulesResponse) SetRules(v []*Rule)
- func (x *ListResourceRulesResponse) String() string
- type ListResourcesRequest
- func (*ListResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesRequest) GetFolderId() string
- func (x *ListResourcesRequest) GetPageSize() int64
- func (x *ListResourcesRequest) GetPageToken() string
- func (*ListResourcesRequest) ProtoMessage()
- func (x *ListResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourcesRequest) Reset()
- func (m *ListResourcesRequest) SetFolderId(v string)
- func (m *ListResourcesRequest) SetPageSize(v int64)
- func (m *ListResourcesRequest) SetPageToken(v string)
- func (x *ListResourcesRequest) String() string
- type ListResourcesResponse
- func (*ListResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcesResponse) GetNextPageToken() string
- func (x *ListResourcesResponse) GetResources() []*Resource
- func (*ListResourcesResponse) ProtoMessage()
- func (x *ListResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourcesResponse) Reset()
- func (m *ListResourcesResponse) SetNextPageToken(v string)
- func (m *ListResourcesResponse) SetResources(v []*Resource)
- func (x *ListResourcesResponse) String() string
- type Origin
- func (*Origin) Descriptor() ([]byte, []int)deprecated
- func (x *Origin) GetBackup() bool
- func (x *Origin) GetEnabled() bool
- func (x *Origin) GetId() int64
- func (x *Origin) GetMeta() *OriginMeta
- func (x *Origin) GetOriginGroupId() int64
- func (x *Origin) GetSource() string
- func (*Origin) ProtoMessage()
- func (x *Origin) ProtoReflect() protoreflect.Message
- func (x *Origin) Reset()
- func (m *Origin) SetBackup(v bool)
- func (m *Origin) SetEnabled(v bool)
- func (m *Origin) SetId(v int64)
- func (m *Origin) SetMeta(v *OriginMeta)
- func (m *Origin) SetOriginGroupId(v int64)
- func (m *Origin) SetSource(v string)
- func (x *Origin) String() string
- type OriginBalancerMeta
- func (*OriginBalancerMeta) Descriptor() ([]byte, []int)deprecated
- func (x *OriginBalancerMeta) GetId() string
- func (*OriginBalancerMeta) ProtoMessage()
- func (x *OriginBalancerMeta) ProtoReflect() protoreflect.Message
- func (x *OriginBalancerMeta) Reset()
- func (m *OriginBalancerMeta) SetId(v string)
- func (x *OriginBalancerMeta) String() string
- type OriginGroup
- func (*OriginGroup) Descriptor() ([]byte, []int)deprecated
- func (x *OriginGroup) GetFolderId() string
- func (x *OriginGroup) GetId() int64
- func (x *OriginGroup) GetName() string
- func (x *OriginGroup) GetOrigins() []*Origin
- func (x *OriginGroup) GetUseNext() bool
- func (*OriginGroup) ProtoMessage()
- func (x *OriginGroup) ProtoReflect() protoreflect.Message
- func (x *OriginGroup) Reset()
- func (m *OriginGroup) SetFolderId(v string)
- func (m *OriginGroup) SetId(v int64)
- func (m *OriginGroup) SetName(v string)
- func (m *OriginGroup) SetOrigins(v []*Origin)
- func (m *OriginGroup) SetUseNext(v bool)
- func (x *OriginGroup) String() string
- type OriginGroupServiceClient
- type OriginGroupServiceServer
- type OriginMeta
- func (*OriginMeta) Descriptor() ([]byte, []int)deprecated
- func (x *OriginMeta) GetBalancer() *OriginBalancerMeta
- func (x *OriginMeta) GetBucket() *OriginNamedMeta
- func (x *OriginMeta) GetCommon() *OriginNamedMeta
- func (m *OriginMeta) GetOriginMetaVariant() isOriginMeta_OriginMetaVariant
- func (x *OriginMeta) GetWebsite() *OriginNamedMeta
- func (*OriginMeta) ProtoMessage()
- func (x *OriginMeta) ProtoReflect() protoreflect.Message
- func (x *OriginMeta) Reset()
- func (m *OriginMeta) SetBalancer(v *OriginBalancerMeta)
- func (m *OriginMeta) SetBucket(v *OriginNamedMeta)
- func (m *OriginMeta) SetCommon(v *OriginNamedMeta)
- func (m *OriginMeta) SetOriginMetaVariant(v OriginMeta_OriginMetaVariant)
- func (m *OriginMeta) SetWebsite(v *OriginNamedMeta)
- func (x *OriginMeta) String() string
- type OriginMeta_Balancer
- type OriginMeta_Bucket
- type OriginMeta_Common
- type OriginMeta_OriginMetaVariant
- type OriginMeta_Website
- type OriginNamedMeta
- func (*OriginNamedMeta) Descriptor() ([]byte, []int)deprecated
- func (x *OriginNamedMeta) GetName() string
- func (*OriginNamedMeta) ProtoMessage()
- func (x *OriginNamedMeta) ProtoReflect() protoreflect.Message
- func (x *OriginNamedMeta) Reset()
- func (m *OriginNamedMeta) SetName(v string)
- func (x *OriginNamedMeta) String() string
- type OriginParams
- func (*OriginParams) Descriptor() ([]byte, []int)deprecated
- func (x *OriginParams) GetBackup() bool
- func (x *OriginParams) GetEnabled() bool
- func (x *OriginParams) GetMeta() *OriginMeta
- func (x *OriginParams) GetSource() string
- func (*OriginParams) ProtoMessage()
- func (x *OriginParams) ProtoReflect() protoreflect.Message
- func (x *OriginParams) Reset()
- func (m *OriginParams) SetBackup(v bool)
- func (m *OriginParams) SetEnabled(v bool)
- func (m *OriginParams) SetMeta(v *OriginMeta)
- func (m *OriginParams) SetSource(v string)
- func (x *OriginParams) String() string
- type OriginProtocol
- func (OriginProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x OriginProtocol) Enum() *OriginProtocol
- func (OriginProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x OriginProtocol) Number() protoreflect.EnumNumber
- func (x OriginProtocol) String() string
- func (OriginProtocol) Type() protoreflect.EnumType
- type OriginServiceClient
- type OriginServiceServer
- type PolicyType
- type PrefetchCacheMetadata
- func (*PrefetchCacheMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PrefetchCacheMetadata) GetResourceId() string
- func (*PrefetchCacheMetadata) ProtoMessage()
- func (x *PrefetchCacheMetadata) ProtoReflect() protoreflect.Message
- func (x *PrefetchCacheMetadata) Reset()
- func (m *PrefetchCacheMetadata) SetResourceId(v string)
- func (x *PrefetchCacheMetadata) String() string
- type PrefetchCacheRequest
- func (*PrefetchCacheRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrefetchCacheRequest) GetPaths() []string
- func (x *PrefetchCacheRequest) GetResourceId() string
- func (*PrefetchCacheRequest) ProtoMessage()
- func (x *PrefetchCacheRequest) ProtoReflect() protoreflect.Message
- func (x *PrefetchCacheRequest) Reset()
- func (m *PrefetchCacheRequest) SetPaths(v []string)
- func (m *PrefetchCacheRequest) SetResourceId(v string)
- func (x *PrefetchCacheRequest) String() string
- type ProviderServiceClient
- type ProviderServiceServer
- type PurgeCacheMetadata
- func (*PurgeCacheMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeCacheMetadata) GetResourceId() string
- func (*PurgeCacheMetadata) ProtoMessage()
- func (x *PurgeCacheMetadata) ProtoReflect() protoreflect.Message
- func (x *PurgeCacheMetadata) Reset()
- func (m *PurgeCacheMetadata) SetResourceId(v string)
- func (x *PurgeCacheMetadata) String() string
- type PurgeCacheRequest
- func (*PurgeCacheRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeCacheRequest) GetPaths() []string
- func (x *PurgeCacheRequest) GetResourceId() string
- func (*PurgeCacheRequest) ProtoMessage()
- func (x *PurgeCacheRequest) ProtoReflect() protoreflect.Message
- func (x *PurgeCacheRequest) Reset()
- func (m *PurgeCacheRequest) SetPaths(v []string)
- func (m *PurgeCacheRequest) SetResourceId(v string)
- func (x *PurgeCacheRequest) String() string
- type RawLogsServiceClient
- type RawLogsServiceServer
- type RawLogsSettings
- func (*RawLogsSettings) Descriptor() ([]byte, []int)deprecated
- func (x *RawLogsSettings) GetBucketName() string
- func (x *RawLogsSettings) GetBucketRegion() string
- func (x *RawLogsSettings) GetFilePrefix() string
- func (*RawLogsSettings) ProtoMessage()
- func (x *RawLogsSettings) ProtoReflect() protoreflect.Message
- func (x *RawLogsSettings) Reset()
- func (m *RawLogsSettings) SetBucketName(v string)
- func (m *RawLogsSettings) SetBucketRegion(v string)
- func (m *RawLogsSettings) SetFilePrefix(v string)
- func (x *RawLogsSettings) String() string
- type RawLogsStatus
- func (RawLogsStatus) Descriptor() protoreflect.EnumDescriptor
- func (x RawLogsStatus) Enum() *RawLogsStatus
- func (RawLogsStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x RawLogsStatus) Number() protoreflect.EnumNumber
- func (x RawLogsStatus) String() string
- func (RawLogsStatus) Type() protoreflect.EnumType
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetActive() bool
- func (x *Resource) GetCname() string
- func (x *Resource) GetCreatedAt() *timestamppb.Timestamp
- func (x *Resource) GetFolderId() string
- func (x *Resource) GetId() string
- func (x *Resource) GetLabels() map[string]string
- func (x *Resource) GetOptions() *ResourceOptions
- func (x *Resource) GetOriginGroupId() int64
- func (x *Resource) GetOriginGroupName() string
- func (x *Resource) GetOriginProtocol() OriginProtocol
- func (x *Resource) GetSecondaryHostnames() []string
- func (x *Resource) GetSslCertificate() *SSLCertificate
- func (x *Resource) GetUpdatedAt() *timestamppb.Timestamp
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (m *Resource) SetActive(v bool)
- func (m *Resource) SetCname(v string)
- func (m *Resource) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Resource) SetFolderId(v string)
- func (m *Resource) SetId(v string)
- func (m *Resource) SetLabels(v map[string]string)
- func (m *Resource) SetOptions(v *ResourceOptions)
- func (m *Resource) SetOriginGroupId(v int64)
- func (m *Resource) SetOriginGroupName(v string)
- func (m *Resource) SetOriginProtocol(v OriginProtocol)
- func (m *Resource) SetSecondaryHostnames(v []string)
- func (m *Resource) SetSslCertificate(v *SSLCertificate)
- func (m *Resource) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *Resource) String() string
- type ResourceOptions
- func (*ResourceOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions) GetAllowedHttpMethods() *ResourceOptions_StringsListOption
- func (x *ResourceOptions) GetBrowserCacheSettings() *ResourceOptions_Int64Option
- func (x *ResourceOptions) GetCacheHttpHeaders() *ResourceOptions_StringsListOption
- func (x *ResourceOptions) GetCompressionOptions() *ResourceOptions_CompressionOptions
- func (x *ResourceOptions) GetCors() *ResourceOptions_StringsListOption
- func (x *ResourceOptions) GetCustomServerName() *ResourceOptions_StringOption
- func (x *ResourceOptions) GetDisableCache() *ResourceOptions_BoolOption
- func (x *ResourceOptions) GetDisableProxyForceRanges() *ResourceOptions_BoolOption
- func (x *ResourceOptions) GetEdgeCacheSettings() *ResourceOptions_EdgeCacheSettings
- func (x *ResourceOptions) GetHostOptions() *ResourceOptions_HostOptions
- func (x *ResourceOptions) GetIgnoreCookie() *ResourceOptions_BoolOption
- func (x *ResourceOptions) GetIpAddressAcl() *ResourceOptions_IPAddressACLOption
- func (x *ResourceOptions) GetProxyCacheMethodsSet() *ResourceOptions_BoolOption
- func (x *ResourceOptions) GetQueryParamsOptions() *ResourceOptions_QueryParamsOptions
- func (x *ResourceOptions) GetRedirectOptions() *ResourceOptions_RedirectOptions
- func (x *ResourceOptions) GetRewrite() *ResourceOptions_RewriteOption
- func (x *ResourceOptions) GetSecureKey() *ResourceOptions_SecureKeyOption
- func (x *ResourceOptions) GetSlice() *ResourceOptions_BoolOption
- func (x *ResourceOptions) GetStale() *ResourceOptions_StringsListOption
- func (x *ResourceOptions) GetStaticHeaders() *ResourceOptions_StringsMapOption
- func (x *ResourceOptions) GetStaticRequestHeaders() *ResourceOptions_StringsMapOption
- func (*ResourceOptions) ProtoMessage()
- func (x *ResourceOptions) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions) Reset()
- func (m *ResourceOptions) SetAllowedHttpMethods(v *ResourceOptions_StringsListOption)
- func (m *ResourceOptions) SetBrowserCacheSettings(v *ResourceOptions_Int64Option)
- func (m *ResourceOptions) SetCacheHttpHeaders(v *ResourceOptions_StringsListOption)
- func (m *ResourceOptions) SetCompressionOptions(v *ResourceOptions_CompressionOptions)
- func (m *ResourceOptions) SetCors(v *ResourceOptions_StringsListOption)
- func (m *ResourceOptions) SetCustomServerName(v *ResourceOptions_StringOption)
- func (m *ResourceOptions) SetDisableCache(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions) SetDisableProxyForceRanges(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions) SetEdgeCacheSettings(v *ResourceOptions_EdgeCacheSettings)
- func (m *ResourceOptions) SetHostOptions(v *ResourceOptions_HostOptions)
- func (m *ResourceOptions) SetIgnoreCookie(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions) SetIpAddressAcl(v *ResourceOptions_IPAddressACLOption)
- func (m *ResourceOptions) SetProxyCacheMethodsSet(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions) SetQueryParamsOptions(v *ResourceOptions_QueryParamsOptions)
- func (m *ResourceOptions) SetRedirectOptions(v *ResourceOptions_RedirectOptions)
- func (m *ResourceOptions) SetRewrite(v *ResourceOptions_RewriteOption)
- func (m *ResourceOptions) SetSecureKey(v *ResourceOptions_SecureKeyOption)
- func (m *ResourceOptions) SetSlice(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions) SetStale(v *ResourceOptions_StringsListOption)
- func (m *ResourceOptions) SetStaticHeaders(v *ResourceOptions_StringsMapOption)
- func (m *ResourceOptions) SetStaticRequestHeaders(v *ResourceOptions_StringsMapOption)
- func (x *ResourceOptions) String() string
- type ResourceOptions_BoolOption
- func (*ResourceOptions_BoolOption) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_BoolOption) GetEnabled() bool
- func (x *ResourceOptions_BoolOption) GetValue() bool
- func (*ResourceOptions_BoolOption) ProtoMessage()
- func (x *ResourceOptions_BoolOption) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_BoolOption) Reset()
- func (m *ResourceOptions_BoolOption) SetEnabled(v bool)
- func (m *ResourceOptions_BoolOption) SetValue(v bool)
- func (x *ResourceOptions_BoolOption) String() string
- type ResourceOptions_CachingTimes
- func (*ResourceOptions_CachingTimes) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_CachingTimes) GetCustomValues() map[string]int64
- func (x *ResourceOptions_CachingTimes) GetSimpleValue() int64
- func (*ResourceOptions_CachingTimes) ProtoMessage()
- func (x *ResourceOptions_CachingTimes) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_CachingTimes) Reset()
- func (m *ResourceOptions_CachingTimes) SetCustomValues(v map[string]int64)
- func (m *ResourceOptions_CachingTimes) SetSimpleValue(v int64)
- func (x *ResourceOptions_CachingTimes) String() string
- type ResourceOptions_CompressionOptions
- func (*ResourceOptions_CompressionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_CompressionOptions) GetBrotliCompression() *ResourceOptions_StringsListOption
- func (m *ResourceOptions_CompressionOptions) GetCompressionVariant() isResourceOptions_CompressionOptions_CompressionVariant
- func (x *ResourceOptions_CompressionOptions) GetFetchCompressed() *ResourceOptions_BoolOption
- func (x *ResourceOptions_CompressionOptions) GetGzipOn() *ResourceOptions_BoolOption
- func (*ResourceOptions_CompressionOptions) ProtoMessage()
- func (x *ResourceOptions_CompressionOptions) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_CompressionOptions) Reset()
- func (m *ResourceOptions_CompressionOptions) SetBrotliCompression(v *ResourceOptions_StringsListOption)
- func (m *ResourceOptions_CompressionOptions) SetCompressionVariant(v ResourceOptions_CompressionOptions_CompressionVariant)
- func (m *ResourceOptions_CompressionOptions) SetFetchCompressed(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions_CompressionOptions) SetGzipOn(v *ResourceOptions_BoolOption)
- func (x *ResourceOptions_CompressionOptions) String() string
- type ResourceOptions_CompressionOptions_BrotliCompression
- type ResourceOptions_CompressionOptions_CompressionVariant
- type ResourceOptions_CompressionOptions_FetchCompressed
- type ResourceOptions_CompressionOptions_GzipOn
- type ResourceOptions_EdgeCacheSettings
- func (*ResourceOptions_EdgeCacheSettings) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_EdgeCacheSettings) GetDefaultValue() int64
- func (x *ResourceOptions_EdgeCacheSettings) GetEnabled() bool
- func (x *ResourceOptions_EdgeCacheSettings) GetValue() *ResourceOptions_CachingTimes
- func (m *ResourceOptions_EdgeCacheSettings) GetValuesVariant() isResourceOptions_EdgeCacheSettings_ValuesVariant
- func (*ResourceOptions_EdgeCacheSettings) ProtoMessage()
- func (x *ResourceOptions_EdgeCacheSettings) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_EdgeCacheSettings) Reset()
- func (m *ResourceOptions_EdgeCacheSettings) SetDefaultValue(v int64)
- func (m *ResourceOptions_EdgeCacheSettings) SetEnabled(v bool)
- func (m *ResourceOptions_EdgeCacheSettings) SetValue(v *ResourceOptions_CachingTimes)
- func (m *ResourceOptions_EdgeCacheSettings) SetValuesVariant(v ResourceOptions_EdgeCacheSettings_ValuesVariant)
- func (x *ResourceOptions_EdgeCacheSettings) String() string
- type ResourceOptions_EdgeCacheSettings_DefaultValue
- type ResourceOptions_EdgeCacheSettings_Value
- type ResourceOptions_EdgeCacheSettings_ValuesVariant
- type ResourceOptions_HostOptions
- func (*ResourceOptions_HostOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_HostOptions) GetForwardHostHeader() *ResourceOptions_BoolOption
- func (x *ResourceOptions_HostOptions) GetHost() *ResourceOptions_StringOption
- func (m *ResourceOptions_HostOptions) GetHostVariant() isResourceOptions_HostOptions_HostVariant
- func (*ResourceOptions_HostOptions) ProtoMessage()
- func (x *ResourceOptions_HostOptions) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_HostOptions) Reset()
- func (m *ResourceOptions_HostOptions) SetForwardHostHeader(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions_HostOptions) SetHost(v *ResourceOptions_StringOption)
- func (m *ResourceOptions_HostOptions) SetHostVariant(v ResourceOptions_HostOptions_HostVariant)
- func (x *ResourceOptions_HostOptions) String() string
- type ResourceOptions_HostOptions_ForwardHostHeader
- type ResourceOptions_HostOptions_Host
- type ResourceOptions_HostOptions_HostVariant
- type ResourceOptions_IPAddressACLOption
- func (*ResourceOptions_IPAddressACLOption) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_IPAddressACLOption) GetEnabled() bool
- func (x *ResourceOptions_IPAddressACLOption) GetExceptedValues() []string
- func (x *ResourceOptions_IPAddressACLOption) GetPolicyType() PolicyType
- func (*ResourceOptions_IPAddressACLOption) ProtoMessage()
- func (x *ResourceOptions_IPAddressACLOption) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_IPAddressACLOption) Reset()
- func (m *ResourceOptions_IPAddressACLOption) SetEnabled(v bool)
- func (m *ResourceOptions_IPAddressACLOption) SetExceptedValues(v []string)
- func (m *ResourceOptions_IPAddressACLOption) SetPolicyType(v PolicyType)
- func (x *ResourceOptions_IPAddressACLOption) String() string
- type ResourceOptions_Int64Option
- func (*ResourceOptions_Int64Option) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_Int64Option) GetEnabled() bool
- func (x *ResourceOptions_Int64Option) GetValue() int64
- func (*ResourceOptions_Int64Option) ProtoMessage()
- func (x *ResourceOptions_Int64Option) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_Int64Option) Reset()
- func (m *ResourceOptions_Int64Option) SetEnabled(v bool)
- func (m *ResourceOptions_Int64Option) SetValue(v int64)
- func (x *ResourceOptions_Int64Option) String() string
- type ResourceOptions_QueryParamsOptions
- func (*ResourceOptions_QueryParamsOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_QueryParamsOptions) GetIgnoreQueryString() *ResourceOptions_BoolOption
- func (x *ResourceOptions_QueryParamsOptions) GetQueryParamsBlacklist() *ResourceOptions_StringsListOption
- func (m *ResourceOptions_QueryParamsOptions) GetQueryParamsVariant() isResourceOptions_QueryParamsOptions_QueryParamsVariant
- func (x *ResourceOptions_QueryParamsOptions) GetQueryParamsWhitelist() *ResourceOptions_StringsListOption
- func (*ResourceOptions_QueryParamsOptions) ProtoMessage()
- func (x *ResourceOptions_QueryParamsOptions) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_QueryParamsOptions) Reset()
- func (m *ResourceOptions_QueryParamsOptions) SetIgnoreQueryString(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions_QueryParamsOptions) SetQueryParamsBlacklist(v *ResourceOptions_StringsListOption)
- func (m *ResourceOptions_QueryParamsOptions) SetQueryParamsVariant(v ResourceOptions_QueryParamsOptions_QueryParamsVariant)
- func (m *ResourceOptions_QueryParamsOptions) SetQueryParamsWhitelist(v *ResourceOptions_StringsListOption)
- func (x *ResourceOptions_QueryParamsOptions) String() string
- type ResourceOptions_QueryParamsOptions_IgnoreQueryString
- type ResourceOptions_QueryParamsOptions_QueryParamsBlacklist
- type ResourceOptions_QueryParamsOptions_QueryParamsVariant
- type ResourceOptions_QueryParamsOptions_QueryParamsWhitelist
- type ResourceOptions_RedirectOptions
- func (*ResourceOptions_RedirectOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_RedirectOptions) GetRedirectHttpToHttps() *ResourceOptions_BoolOption
- func (x *ResourceOptions_RedirectOptions) GetRedirectHttpsToHttp() *ResourceOptions_BoolOption
- func (m *ResourceOptions_RedirectOptions) GetRedirectVariant() isResourceOptions_RedirectOptions_RedirectVariant
- func (*ResourceOptions_RedirectOptions) ProtoMessage()
- func (x *ResourceOptions_RedirectOptions) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_RedirectOptions) Reset()
- func (m *ResourceOptions_RedirectOptions) SetRedirectHttpToHttps(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions_RedirectOptions) SetRedirectHttpsToHttp(v *ResourceOptions_BoolOption)
- func (m *ResourceOptions_RedirectOptions) SetRedirectVariant(v ResourceOptions_RedirectOptions_RedirectVariant)
- func (x *ResourceOptions_RedirectOptions) String() string
- type ResourceOptions_RedirectOptions_RedirectHttpToHttps
- type ResourceOptions_RedirectOptions_RedirectHttpsToHttp
- type ResourceOptions_RedirectOptions_RedirectVariant
- type ResourceOptions_RewriteOption
- func (*ResourceOptions_RewriteOption) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_RewriteOption) GetBody() string
- func (x *ResourceOptions_RewriteOption) GetEnabled() bool
- func (x *ResourceOptions_RewriteOption) GetFlag() RewriteFlag
- func (*ResourceOptions_RewriteOption) ProtoMessage()
- func (x *ResourceOptions_RewriteOption) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_RewriteOption) Reset()
- func (m *ResourceOptions_RewriteOption) SetBody(v string)
- func (m *ResourceOptions_RewriteOption) SetEnabled(v bool)
- func (m *ResourceOptions_RewriteOption) SetFlag(v RewriteFlag)
- func (x *ResourceOptions_RewriteOption) String() string
- type ResourceOptions_SecureKeyOption
- func (*ResourceOptions_SecureKeyOption) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_SecureKeyOption) GetEnabled() bool
- func (x *ResourceOptions_SecureKeyOption) GetKey() string
- func (x *ResourceOptions_SecureKeyOption) GetType() SecureKeyURLType
- func (*ResourceOptions_SecureKeyOption) ProtoMessage()
- func (x *ResourceOptions_SecureKeyOption) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_SecureKeyOption) Reset()
- func (m *ResourceOptions_SecureKeyOption) SetEnabled(v bool)
- func (m *ResourceOptions_SecureKeyOption) SetKey(v string)
- func (m *ResourceOptions_SecureKeyOption) SetType(v SecureKeyURLType)
- func (x *ResourceOptions_SecureKeyOption) String() string
- type ResourceOptions_StringOption
- func (*ResourceOptions_StringOption) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_StringOption) GetEnabled() bool
- func (x *ResourceOptions_StringOption) GetValue() string
- func (*ResourceOptions_StringOption) ProtoMessage()
- func (x *ResourceOptions_StringOption) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_StringOption) Reset()
- func (m *ResourceOptions_StringOption) SetEnabled(v bool)
- func (m *ResourceOptions_StringOption) SetValue(v string)
- func (x *ResourceOptions_StringOption) String() string
- type ResourceOptions_StringVariableMapOption
- func (*ResourceOptions_StringVariableMapOption) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_StringVariableMapOption) GetEnabled() bool
- func (x *ResourceOptions_StringVariableMapOption) GetValue() map[string]*ResourceOptions_StringVariableMapOption_OneofString
- func (*ResourceOptions_StringVariableMapOption) ProtoMessage()
- func (x *ResourceOptions_StringVariableMapOption) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_StringVariableMapOption) Reset()
- func (m *ResourceOptions_StringVariableMapOption) SetEnabled(v bool)
- func (m *ResourceOptions_StringVariableMapOption) SetValue(v map[string]*ResourceOptions_StringVariableMapOption_OneofString)
- func (x *ResourceOptions_StringVariableMapOption) String() string
- type ResourceOptions_StringVariableMapOption_OneofString
- func (*ResourceOptions_StringVariableMapOption_OneofString) Descriptor() ([]byte, []int)deprecated
- func (m *ResourceOptions_StringVariableMapOption_OneofString) GetStringOption() isResourceOptions_StringVariableMapOption_OneofString_StringOption
- func (x *ResourceOptions_StringVariableMapOption_OneofString) GetValue() *ResourceOptions_StringOption
- func (x *ResourceOptions_StringVariableMapOption_OneofString) GetValues() *ResourceOptions_StringsListOption
- func (*ResourceOptions_StringVariableMapOption_OneofString) ProtoMessage()
- func (x *ResourceOptions_StringVariableMapOption_OneofString) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_StringVariableMapOption_OneofString) Reset()
- func (m *ResourceOptions_StringVariableMapOption_OneofString) SetStringOption(v ResourceOptions_StringVariableMapOption_OneofString_StringOption)
- func (m *ResourceOptions_StringVariableMapOption_OneofString) SetValue(v *ResourceOptions_StringOption)
- func (m *ResourceOptions_StringVariableMapOption_OneofString) SetValues(v *ResourceOptions_StringsListOption)
- func (x *ResourceOptions_StringVariableMapOption_OneofString) String() string
- type ResourceOptions_StringVariableMapOption_OneofString_StringOption
- type ResourceOptions_StringVariableMapOption_OneofString_Value
- type ResourceOptions_StringVariableMapOption_OneofString_Values
- type ResourceOptions_StringsListOption
- func (*ResourceOptions_StringsListOption) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_StringsListOption) GetEnabled() bool
- func (x *ResourceOptions_StringsListOption) GetValue() []string
- func (*ResourceOptions_StringsListOption) ProtoMessage()
- func (x *ResourceOptions_StringsListOption) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_StringsListOption) Reset()
- func (m *ResourceOptions_StringsListOption) SetEnabled(v bool)
- func (m *ResourceOptions_StringsListOption) SetValue(v []string)
- func (x *ResourceOptions_StringsListOption) String() string
- type ResourceOptions_StringsMapOption
- func (*ResourceOptions_StringsMapOption) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOptions_StringsMapOption) GetEnabled() bool
- func (x *ResourceOptions_StringsMapOption) GetValue() map[string]string
- func (*ResourceOptions_StringsMapOption) ProtoMessage()
- func (x *ResourceOptions_StringsMapOption) ProtoReflect() protoreflect.Message
- func (x *ResourceOptions_StringsMapOption) Reset()
- func (m *ResourceOptions_StringsMapOption) SetEnabled(v bool)
- func (m *ResourceOptions_StringsMapOption) SetValue(v map[string]string)
- func (x *ResourceOptions_StringsMapOption) String() string
- type ResourceOriginParams
- func (*ResourceOriginParams) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceOriginParams) GetMeta() *OriginMeta
- func (x *ResourceOriginParams) GetSource() string
- func (*ResourceOriginParams) ProtoMessage()
- func (x *ResourceOriginParams) ProtoReflect() protoreflect.Message
- func (x *ResourceOriginParams) Reset()
- func (m *ResourceOriginParams) SetMeta(v *OriginMeta)
- func (m *ResourceOriginParams) SetSource(v string)
- func (x *ResourceOriginParams) String() string
- type ResourceRulesServiceClient
- type ResourceRulesServiceServer
- type ResourceServiceClient
- type ResourceServiceServer
- type RewriteFlag
- func (RewriteFlag) Descriptor() protoreflect.EnumDescriptor
- func (x RewriteFlag) Enum() *RewriteFlag
- func (RewriteFlag) EnumDescriptor() ([]byte, []int)deprecated
- func (x RewriteFlag) Number() protoreflect.EnumNumber
- func (x RewriteFlag) String() string
- func (RewriteFlag) Type() protoreflect.EnumType
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetId() int64
- func (x *Rule) GetName() string
- func (x *Rule) GetOptions() *ResourceOptions
- func (x *Rule) GetRulePattern() string
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (m *Rule) SetId(v int64)
- func (m *Rule) SetName(v string)
- func (m *Rule) SetOptions(v *ResourceOptions)
- func (m *Rule) SetRulePattern(v string)
- func (x *Rule) String() string
- type SSLCertificate
- func (*SSLCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *SSLCertificate) GetData() *SSLCertificateData
- func (x *SSLCertificate) GetStatus() SSLCertificateStatus
- func (x *SSLCertificate) GetType() SSLCertificateType
- func (*SSLCertificate) ProtoMessage()
- func (x *SSLCertificate) ProtoReflect() protoreflect.Message
- func (x *SSLCertificate) Reset()
- func (m *SSLCertificate) SetData(v *SSLCertificateData)
- func (m *SSLCertificate) SetStatus(v SSLCertificateStatus)
- func (m *SSLCertificate) SetType(v SSLCertificateType)
- func (x *SSLCertificate) String() string
- type SSLCertificateCMData
- func (*SSLCertificateCMData) Descriptor() ([]byte, []int)deprecated
- func (x *SSLCertificateCMData) GetId() string
- func (*SSLCertificateCMData) ProtoMessage()
- func (x *SSLCertificateCMData) ProtoReflect() protoreflect.Message
- func (x *SSLCertificateCMData) Reset()
- func (m *SSLCertificateCMData) SetId(v string)
- func (x *SSLCertificateCMData) String() string
- type SSLCertificateData
- func (*SSLCertificateData) Descriptor() ([]byte, []int)deprecated
- func (x *SSLCertificateData) GetCm() *SSLCertificateCMData
- func (m *SSLCertificateData) GetSslCertificateDataVariant() isSSLCertificateData_SslCertificateDataVariant
- func (*SSLCertificateData) ProtoMessage()
- func (x *SSLCertificateData) ProtoReflect() protoreflect.Message
- func (x *SSLCertificateData) Reset()
- func (m *SSLCertificateData) SetCm(v *SSLCertificateCMData)
- func (m *SSLCertificateData) SetSslCertificateDataVariant(v SSLCertificateData_SslCertificateDataVariant)
- func (x *SSLCertificateData) String() string
- type SSLCertificateData_Cm
- type SSLCertificateData_SslCertificateDataVariant
- type SSLCertificateStatus
- func (SSLCertificateStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SSLCertificateStatus) Enum() *SSLCertificateStatus
- func (SSLCertificateStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SSLCertificateStatus) Number() protoreflect.EnumNumber
- func (x SSLCertificateStatus) String() string
- func (SSLCertificateStatus) Type() protoreflect.EnumType
- type SSLCertificateType
- func (SSLCertificateType) Descriptor() protoreflect.EnumDescriptor
- func (x SSLCertificateType) Enum() *SSLCertificateType
- func (SSLCertificateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SSLCertificateType) Number() protoreflect.EnumNumber
- func (x SSLCertificateType) String() string
- func (SSLCertificateType) Type() protoreflect.EnumType
- type SSLTargetCertificate
- func (*SSLTargetCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *SSLTargetCertificate) GetData() *SSLCertificateData
- func (x *SSLTargetCertificate) GetType() SSLCertificateType
- func (*SSLTargetCertificate) ProtoMessage()
- func (x *SSLTargetCertificate) ProtoReflect() protoreflect.Message
- func (x *SSLTargetCertificate) Reset()
- func (m *SSLTargetCertificate) SetData(v *SSLCertificateData)
- func (m *SSLTargetCertificate) SetType(v SSLCertificateType)
- func (x *SSLTargetCertificate) String() string
- type SecondaryHostnames
- func (*SecondaryHostnames) Descriptor() ([]byte, []int)deprecated
- func (x *SecondaryHostnames) GetValues() []string
- func (*SecondaryHostnames) ProtoMessage()
- func (x *SecondaryHostnames) ProtoReflect() protoreflect.Message
- func (x *SecondaryHostnames) Reset()
- func (m *SecondaryHostnames) SetValues(v []string)
- func (x *SecondaryHostnames) String() string
- type SecureKeyURLType
- func (SecureKeyURLType) Descriptor() protoreflect.EnumDescriptor
- func (x SecureKeyURLType) Enum() *SecureKeyURLType
- func (SecureKeyURLType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecureKeyURLType) Number() protoreflect.EnumNumber
- func (x SecureKeyURLType) String() string
- func (SecureKeyURLType) Type() protoreflect.EnumType
- type UnimplementedCacheServiceServer
- type UnimplementedOriginGroupServiceServer
- func (UnimplementedOriginGroupServiceServer) Create(context.Context, *CreateOriginGroupRequest) (*operation.Operation, error)
- func (UnimplementedOriginGroupServiceServer) Delete(context.Context, *DeleteOriginGroupRequest) (*operation.Operation, error)
- func (UnimplementedOriginGroupServiceServer) Get(context.Context, *GetOriginGroupRequest) (*OriginGroup, error)
- func (UnimplementedOriginGroupServiceServer) List(context.Context, *ListOriginGroupsRequest) (*ListOriginGroupsResponse, error)
- func (UnimplementedOriginGroupServiceServer) Update(context.Context, *UpdateOriginGroupRequest) (*operation.Operation, error)
- type UnimplementedOriginServiceServer
- func (UnimplementedOriginServiceServer) Create(context.Context, *CreateOriginRequest) (*operation.Operation, error)
- func (UnimplementedOriginServiceServer) Delete(context.Context, *DeleteOriginRequest) (*operation.Operation, error)
- func (UnimplementedOriginServiceServer) Get(context.Context, *GetOriginRequest) (*Origin, error)
- func (UnimplementedOriginServiceServer) List(context.Context, *ListOriginsRequest) (*ListOriginsResponse, error)
- func (UnimplementedOriginServiceServer) Update(context.Context, *UpdateOriginRequest) (*operation.Operation, error)
- type UnimplementedProviderServiceServer
- type UnimplementedRawLogsServiceServer
- func (UnimplementedRawLogsServiceServer) Activate(context.Context, *ActivateRawLogsRequest) (*operation.Operation, error)
- func (UnimplementedRawLogsServiceServer) Deactivate(context.Context, *DeactivateRawLogsRequest) (*operation.Operation, error)
- func (UnimplementedRawLogsServiceServer) Get(context.Context, *GetRawLogsRequest) (*GetRawLogsResponse, error)
- func (UnimplementedRawLogsServiceServer) Update(context.Context, *UpdateRawLogsRequest) (*operation.Operation, error)
- type UnimplementedResourceRulesServiceServer
- func (UnimplementedResourceRulesServiceServer) Create(context.Context, *CreateResourceRuleRequest) (*operation.Operation, error)
- func (UnimplementedResourceRulesServiceServer) Delete(context.Context, *DeleteResourceRuleRequest) (*operation.Operation, error)
- func (UnimplementedResourceRulesServiceServer) Get(context.Context, *GetResourceRuleRequest) (*Rule, error)
- func (UnimplementedResourceRulesServiceServer) List(context.Context, *ListResourceRulesRequest) (*ListResourceRulesResponse, error)
- func (UnimplementedResourceRulesServiceServer) Update(context.Context, *UpdateResourceRuleRequest) (*operation.Operation, error)
- type UnimplementedResourceServiceServer
- func (UnimplementedResourceServiceServer) Create(context.Context, *CreateResourceRequest) (*operation.Operation, error)
- func (UnimplementedResourceServiceServer) Delete(context.Context, *DeleteResourceRequest) (*operation.Operation, error)
- func (UnimplementedResourceServiceServer) Get(context.Context, *GetResourceRequest) (*Resource, error)
- func (UnimplementedResourceServiceServer) GetProviderCName(context.Context, *GetProviderCNameRequest) (*GetProviderCNameResponse, error)
- func (UnimplementedResourceServiceServer) List(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
- func (UnimplementedResourceServiceServer) Update(context.Context, *UpdateResourceRequest) (*operation.Operation, error)
- type UnsafeCacheServiceServer
- type UnsafeOriginGroupServiceServer
- type UnsafeOriginServiceServer
- type UnsafeProviderServiceServer
- type UnsafeRawLogsServiceServer
- type UnsafeResourceRulesServiceServer
- type UnsafeResourceServiceServer
- type UpdateOriginGroupMetadata
- func (*UpdateOriginGroupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOriginGroupMetadata) GetOriginGroupId() int64
- func (*UpdateOriginGroupMetadata) ProtoMessage()
- func (x *UpdateOriginGroupMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateOriginGroupMetadata) Reset()
- func (m *UpdateOriginGroupMetadata) SetOriginGroupId(v int64)
- func (x *UpdateOriginGroupMetadata) String() string
- type UpdateOriginGroupRequest
- func (*UpdateOriginGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOriginGroupRequest) GetFolderId() string
- func (x *UpdateOriginGroupRequest) GetGroupName() *wrapperspb.StringValue
- func (x *UpdateOriginGroupRequest) GetOriginGroupId() int64
- func (x *UpdateOriginGroupRequest) GetOrigins() []*OriginParams
- func (x *UpdateOriginGroupRequest) GetUseNext() *wrapperspb.BoolValue
- func (*UpdateOriginGroupRequest) ProtoMessage()
- func (x *UpdateOriginGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOriginGroupRequest) Reset()
- func (m *UpdateOriginGroupRequest) SetFolderId(v string)
- func (m *UpdateOriginGroupRequest) SetGroupName(v *wrapperspb.StringValue)
- func (m *UpdateOriginGroupRequest) SetOriginGroupId(v int64)
- func (m *UpdateOriginGroupRequest) SetOrigins(v []*OriginParams)
- func (m *UpdateOriginGroupRequest) SetUseNext(v *wrapperspb.BoolValue)
- func (x *UpdateOriginGroupRequest) String() string
- type UpdateOriginMetadata
- func (*UpdateOriginMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOriginMetadata) GetOriginGroupId() int64
- func (x *UpdateOriginMetadata) GetOriginId() int64
- func (*UpdateOriginMetadata) ProtoMessage()
- func (x *UpdateOriginMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateOriginMetadata) Reset()
- func (m *UpdateOriginMetadata) SetOriginGroupId(v int64)
- func (m *UpdateOriginMetadata) SetOriginId(v int64)
- func (x *UpdateOriginMetadata) String() string
- type UpdateOriginRequest
- func (*UpdateOriginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOriginRequest) GetBackup() bool
- func (x *UpdateOriginRequest) GetEnabled() bool
- func (x *UpdateOriginRequest) GetFolderId() string
- func (x *UpdateOriginRequest) GetMeta() *OriginMeta
- func (x *UpdateOriginRequest) GetOriginId() int64
- func (x *UpdateOriginRequest) GetSource() string
- func (*UpdateOriginRequest) ProtoMessage()
- func (x *UpdateOriginRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOriginRequest) Reset()
- func (m *UpdateOriginRequest) SetBackup(v bool)
- func (m *UpdateOriginRequest) SetEnabled(v bool)
- func (m *UpdateOriginRequest) SetFolderId(v string)
- func (m *UpdateOriginRequest) SetMeta(v *OriginMeta)
- func (m *UpdateOriginRequest) SetOriginId(v int64)
- func (m *UpdateOriginRequest) SetSource(v string)
- func (x *UpdateOriginRequest) String() string
- type UpdateRawLogsMetadata
- func (*UpdateRawLogsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRawLogsMetadata) GetResourceId() string
- func (*UpdateRawLogsMetadata) ProtoMessage()
- func (x *UpdateRawLogsMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateRawLogsMetadata) Reset()
- func (m *UpdateRawLogsMetadata) SetResourceId(v string)
- func (x *UpdateRawLogsMetadata) String() string
- type UpdateRawLogsRequest
- func (*UpdateRawLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRawLogsRequest) GetResourceId() string
- func (x *UpdateRawLogsRequest) GetSettings() *RawLogsSettings
- func (*UpdateRawLogsRequest) ProtoMessage()
- func (x *UpdateRawLogsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRawLogsRequest) Reset()
- func (m *UpdateRawLogsRequest) SetResourceId(v string)
- func (m *UpdateRawLogsRequest) SetSettings(v *RawLogsSettings)
- func (x *UpdateRawLogsRequest) String() string
- type UpdateRawLogsResponse
- func (*UpdateRawLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRawLogsResponse) GetSettings() *RawLogsSettings
- func (x *UpdateRawLogsResponse) GetStatus() RawLogsStatus
- func (*UpdateRawLogsResponse) ProtoMessage()
- func (x *UpdateRawLogsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRawLogsResponse) Reset()
- func (m *UpdateRawLogsResponse) SetSettings(v *RawLogsSettings)
- func (m *UpdateRawLogsResponse) SetStatus(v RawLogsStatus)
- func (x *UpdateRawLogsResponse) String() string
- type UpdateResourceMetadata
- func (*UpdateResourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceMetadata) GetResourceId() string
- func (*UpdateResourceMetadata) ProtoMessage()
- func (x *UpdateResourceMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceMetadata) Reset()
- func (m *UpdateResourceMetadata) SetResourceId(v string)
- func (x *UpdateResourceMetadata) String() string
- type UpdateResourceRequest
- func (*UpdateResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceRequest) GetActive() *wrapperspb.BoolValue
- func (x *UpdateResourceRequest) GetLabels() map[string]string
- func (x *UpdateResourceRequest) GetOptions() *ResourceOptions
- func (x *UpdateResourceRequest) GetOriginGroupId() *wrapperspb.Int64Value
- func (x *UpdateResourceRequest) GetOriginProtocol() OriginProtocol
- func (x *UpdateResourceRequest) GetResourceId() string
- func (x *UpdateResourceRequest) GetSecondaryHostnames() *SecondaryHostnames
- func (x *UpdateResourceRequest) GetSslCertificate() *SSLTargetCertificate
- func (*UpdateResourceRequest) ProtoMessage()
- func (x *UpdateResourceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceRequest) Reset()
- func (m *UpdateResourceRequest) SetActive(v *wrapperspb.BoolValue)
- func (m *UpdateResourceRequest) SetLabels(v map[string]string)
- func (m *UpdateResourceRequest) SetOptions(v *ResourceOptions)
- func (m *UpdateResourceRequest) SetOriginGroupId(v *wrapperspb.Int64Value)
- func (m *UpdateResourceRequest) SetOriginProtocol(v OriginProtocol)
- func (m *UpdateResourceRequest) SetResourceId(v string)
- func (m *UpdateResourceRequest) SetSecondaryHostnames(v *SecondaryHostnames)
- func (m *UpdateResourceRequest) SetSslCertificate(v *SSLTargetCertificate)
- func (x *UpdateResourceRequest) String() string
- type UpdateResourceRuleMetadata
- func (*UpdateResourceRuleMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceRuleMetadata) GetResourceId() string
- func (x *UpdateResourceRuleMetadata) GetRuleId() int64
- func (*UpdateResourceRuleMetadata) ProtoMessage()
- func (x *UpdateResourceRuleMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceRuleMetadata) Reset()
- func (m *UpdateResourceRuleMetadata) SetResourceId(v string)
- func (m *UpdateResourceRuleMetadata) SetRuleId(v int64)
- func (x *UpdateResourceRuleMetadata) String() string
- type UpdateResourceRuleRequest
- func (*UpdateResourceRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourceRuleRequest) GetName() string
- func (x *UpdateResourceRuleRequest) GetOptions() *ResourceOptions
- func (x *UpdateResourceRuleRequest) GetResourceId() string
- func (x *UpdateResourceRuleRequest) GetRuleId() int64
- func (x *UpdateResourceRuleRequest) GetRulePattern() string
- func (*UpdateResourceRuleRequest) ProtoMessage()
- func (x *UpdateResourceRuleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourceRuleRequest) Reset()
- func (m *UpdateResourceRuleRequest) SetName(v string)
- func (m *UpdateResourceRuleRequest) SetOptions(v *ResourceOptions)
- func (m *UpdateResourceRuleRequest) SetResourceId(v string)
- func (m *UpdateResourceRuleRequest) SetRuleId(v int64)
- func (m *UpdateResourceRuleRequest) SetRulePattern(v string)
- func (x *UpdateResourceRuleRequest) String() string
Constants ¶
const ( CacheService_Purge_FullMethodName = "/yandex.cloud.cdn.v1.CacheService/Purge" CacheService_Prefetch_FullMethodName = "/yandex.cloud.cdn.v1.CacheService/Prefetch" )
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" )
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" )
const ( ProviderService_Activate_FullMethodName = "/yandex.cloud.cdn.v1.ProviderService/Activate" ProviderService_ListActivated_FullMethodName = "/yandex.cloud.cdn.v1.ProviderService/ListActivated" )
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" )
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" )
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 ¶
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.
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.
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.
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.
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.
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.
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.
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)
var File_yandex_cloud_cdn_v1_cache_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_origin_group_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_origin_group_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_origin_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_origin_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_provider_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_raw_logs_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_raw_logs_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_resource_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_resource_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_rule_proto protoreflect.FileDescriptor
var File_yandex_cloud_cdn_v1_rule_service_proto protoreflect.FileDescriptor
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)
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)
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)
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)
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)
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.
func NewCacheServiceClient ¶
func NewCacheServiceClient(cc grpc.ClientConnInterface) CacheServiceClient
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 (x *CreateOriginGroupMetadata) ProtoReflect() protoreflect.Message
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 (x *CreateOriginGroupRequest) GetUseNext() *wrapperspb.BoolValue
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 (x *CreateResourceRequest) GetOrigin() *CreateResourceRequest_Origin
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 (m *CreateResourceRequest) SetOrigin(v *CreateResourceRequest_Origin)
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 (x *CreateResourceRequest_Origin) ProtoReflect() protoreflect.Message
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 (m *CreateResourceRequest_Origin) SetOriginVariant(v CreateResourceRequest_Origin_OriginVariant)
func (*CreateResourceRequest_Origin) String ¶
func (x *CreateResourceRequest_Origin) String() 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 (x *CreateResourceRuleMetadata) ProtoReflect() protoreflect.Message
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 (x *CreateResourceRuleRequest) ProtoReflect() protoreflect.Message
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 (x *DeactivateRawLogsMetadata) ProtoReflect() protoreflect.Message
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 (x *DeleteOriginGroupMetadata) ProtoReflect() protoreflect.Message
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 (x *DeleteResourceRuleMetadata) ProtoReflect() protoreflect.Message
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 (x *DeleteResourceRuleRequest) ProtoReflect() protoreflect.Message
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 (x *ListActivatedProvidersRequest) ProtoReflect() protoreflect.Message
func (*ListActivatedProvidersRequest) Reset ¶
func (x *ListActivatedProvidersRequest) Reset()
func (*ListActivatedProvidersRequest) SetFolderId ¶
func (m *ListActivatedProvidersRequest) SetFolderId(v string)
func (*ListActivatedProvidersRequest) String ¶
func (x *ListActivatedProvidersRequest) String() 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 (x *ListActivatedProvidersResponse) ProtoReflect() protoreflect.Message
func (*ListActivatedProvidersResponse) Reset ¶
func (x *ListActivatedProvidersResponse) Reset()
func (*ListActivatedProvidersResponse) SetProviders ¶
func (m *ListActivatedProvidersResponse) SetProviders(v []string)
func (*ListActivatedProvidersResponse) String ¶
func (x *ListActivatedProvidersResponse) String() 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 (x *ListResourceRulesResponse) ProtoReflect() protoreflect.Message
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) GetEnabled ¶
func (*Origin) GetMeta ¶
func (x *Origin) GetMeta() *OriginMeta
func (*Origin) GetOriginGroupId ¶
func (*Origin) ProtoMessage ¶
func (*Origin) ProtoMessage()
func (*Origin) ProtoReflect ¶
func (x *Origin) ProtoReflect() protoreflect.Message
func (*Origin) SetEnabled ¶
func (*Origin) SetMeta ¶
func (m *Origin) SetMeta(v *OriginMeta)
func (*Origin) SetOriginGroupId ¶
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.
func NewOriginGroupServiceClient ¶
func NewOriginGroupServiceClient(cc grpc.ClientConnInterface) OriginGroupServiceClient
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) Descriptor() protoreflect.EnumDescriptor
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 (x OriginProtocol) Number() protoreflect.EnumNumber
func (OriginProtocol) String ¶
func (x OriginProtocol) String() string
func (OriginProtocol) Type ¶
func (OriginProtocol) Type() protoreflect.EnumType
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.
func NewOriginServiceClient ¶
func NewOriginServiceClient(cc grpc.ClientConnInterface) OriginServiceClient
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 ¶
func (PolicyType) Type() protoreflect.EnumType
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.
func NewProviderServiceClient ¶
func NewProviderServiceClient(cc grpc.ClientConnInterface) ProviderServiceClient
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.
func NewRawLogsServiceClient ¶
func NewRawLogsServiceClient(cc grpc.ClientConnInterface) RawLogsServiceClient
type RawLogsServiceServer ¶
type RawLogsServiceServer interface { Activate(context.Context, *ActivateRawLogsRequest) (*operation.Operation, error) Deactivate(context.Context, *DeactivateRawLogsRequest) (*operation.Operation, error) Get(context.Context, *GetRawLogsRequest) (*GetRawLogsResponse, error) Update(context.Context, *UpdateRawLogsRequest) (*operation.Operation, error) }
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) Descriptor() protoreflect.EnumDescriptor
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 (x RawLogsStatus) Number() protoreflect.EnumNumber
func (RawLogsStatus) String ¶
func (x RawLogsStatus) String() string
func (RawLogsStatus) Type ¶
func (RawLogsStatus) Type() protoreflect.EnumType
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) GetCreatedAt ¶
func (x *Resource) GetCreatedAt() *timestamppb.Timestamp
func (*Resource) GetFolderId ¶
func (*Resource) GetOptions ¶
func (x *Resource) GetOptions() *ResourceOptions
func (*Resource) GetOriginGroupId ¶
func (*Resource) GetOriginGroupName ¶
func (*Resource) GetOriginProtocol ¶
func (x *Resource) GetOriginProtocol() OriginProtocol
func (*Resource) GetSecondaryHostnames ¶
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) SetCreatedAt ¶
func (m *Resource) SetCreatedAt(v *timestamppb.Timestamp)
func (*Resource) SetFolderId ¶
func (*Resource) SetOptions ¶
func (m *Resource) SetOptions(v *ResourceOptions)
func (*Resource) SetOriginGroupId ¶
func (*Resource) SetOriginGroupName ¶
func (*Resource) SetOriginProtocol ¶
func (m *Resource) SetOriginProtocol(v OriginProtocol)
func (*Resource) SetSecondaryHostnames ¶
func (*Resource) SetSslCertificate ¶
func (m *Resource) SetSslCertificate(v *SSLCertificate)
func (*Resource) SetUpdatedAt ¶
func (m *Resource) SetUpdatedAt(v *timestamppb.Timestamp)
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 (x *ResourceOptions) GetCors() *ResourceOptions_StringsListOption
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 (x *ResourceOptions) GetIpAddressAcl() *ResourceOptions_IPAddressACLOption
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 (x *ResourceOptions) GetRewrite() *ResourceOptions_RewriteOption
func (*ResourceOptions) GetSecureKey ¶
func (x *ResourceOptions) GetSecureKey() *ResourceOptions_SecureKeyOption
func (*ResourceOptions) GetSlice ¶
func (x *ResourceOptions) GetSlice() *ResourceOptions_BoolOption
func (*ResourceOptions) GetStale ¶
func (x *ResourceOptions) GetStale() *ResourceOptions_StringsListOption
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 (m *ResourceOptions) SetCors(v *ResourceOptions_StringsListOption)
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 (m *ResourceOptions) SetRewrite(v *ResourceOptions_RewriteOption)
func (*ResourceOptions) SetSecureKey ¶
func (m *ResourceOptions) SetSecureKey(v *ResourceOptions_SecureKeyOption)
func (*ResourceOptions) SetSlice ¶
func (m *ResourceOptions) SetSlice(v *ResourceOptions_BoolOption)
func (*ResourceOptions) SetStale ¶
func (m *ResourceOptions) SetStale(v *ResourceOptions_StringsListOption)
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 (x *ResourceOptions_BoolOption) ProtoReflect() protoreflect.Message
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 (x *ResourceOptions_CachingTimes) ProtoReflect() protoreflect.Message
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 ¶
func (x *ResourceOptions_CachingTimes) String() 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 (x *ResourceOptions_CompressionOptions) GetBrotliCompression() *ResourceOptions_StringsListOption
func (*ResourceOptions_CompressionOptions) GetCompressionVariant ¶
func (m *ResourceOptions_CompressionOptions) GetCompressionVariant() isResourceOptions_CompressionOptions_CompressionVariant
func (*ResourceOptions_CompressionOptions) GetFetchCompressed ¶
func (x *ResourceOptions_CompressionOptions) GetFetchCompressed() *ResourceOptions_BoolOption
func (*ResourceOptions_CompressionOptions) GetGzipOn ¶
func (x *ResourceOptions_CompressionOptions) GetGzipOn() *ResourceOptions_BoolOption
func (*ResourceOptions_CompressionOptions) ProtoMessage ¶
func (*ResourceOptions_CompressionOptions) ProtoMessage()
func (*ResourceOptions_CompressionOptions) ProtoReflect ¶
func (x *ResourceOptions_CompressionOptions) ProtoReflect() protoreflect.Message
func (*ResourceOptions_CompressionOptions) Reset ¶
func (x *ResourceOptions_CompressionOptions) Reset()
func (*ResourceOptions_CompressionOptions) SetBrotliCompression ¶
func (m *ResourceOptions_CompressionOptions) SetBrotliCompression(v *ResourceOptions_StringsListOption)
func (*ResourceOptions_CompressionOptions) SetCompressionVariant ¶
func (m *ResourceOptions_CompressionOptions) SetCompressionVariant(v ResourceOptions_CompressionOptions_CompressionVariant)
func (*ResourceOptions_CompressionOptions) SetFetchCompressed ¶
func (m *ResourceOptions_CompressionOptions) SetFetchCompressed(v *ResourceOptions_BoolOption)
func (*ResourceOptions_CompressionOptions) SetGzipOn ¶
func (m *ResourceOptions_CompressionOptions) SetGzipOn(v *ResourceOptions_BoolOption)
func (*ResourceOptions_CompressionOptions) String ¶
func (x *ResourceOptions_CompressionOptions) String() 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 (x *ResourceOptions_EdgeCacheSettings) GetValue() *ResourceOptions_CachingTimes
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 (x *ResourceOptions_EdgeCacheSettings) ProtoReflect() protoreflect.Message
func (*ResourceOptions_EdgeCacheSettings) Reset ¶
func (x *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 (m *ResourceOptions_EdgeCacheSettings) SetValue(v *ResourceOptions_CachingTimes)
func (*ResourceOptions_EdgeCacheSettings) SetValuesVariant ¶
func (m *ResourceOptions_EdgeCacheSettings) SetValuesVariant(v ResourceOptions_EdgeCacheSettings_ValuesVariant)
func (*ResourceOptions_EdgeCacheSettings) String ¶
func (x *ResourceOptions_EdgeCacheSettings) String() 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 (x *ResourceOptions_HostOptions) GetHost() *ResourceOptions_StringOption
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 (x *ResourceOptions_HostOptions) ProtoReflect() protoreflect.Message
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 (m *ResourceOptions_HostOptions) SetHost(v *ResourceOptions_StringOption)
func (*ResourceOptions_HostOptions) SetHostVariant ¶
func (m *ResourceOptions_HostOptions) SetHostVariant(v ResourceOptions_HostOptions_HostVariant)
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 (x *ResourceOptions_IPAddressACLOption) GetPolicyType() PolicyType
func (*ResourceOptions_IPAddressACLOption) ProtoMessage ¶
func (*ResourceOptions_IPAddressACLOption) ProtoMessage()
func (*ResourceOptions_IPAddressACLOption) ProtoReflect ¶
func (x *ResourceOptions_IPAddressACLOption) ProtoReflect() protoreflect.Message
func (*ResourceOptions_IPAddressACLOption) Reset ¶
func (x *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 ¶
func (x *ResourceOptions_IPAddressACLOption) String() 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 (x *ResourceOptions_Int64Option) ProtoReflect() protoreflect.Message
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 (x *ResourceOptions_QueryParamsOptions) GetIgnoreQueryString() *ResourceOptions_BoolOption
func (*ResourceOptions_QueryParamsOptions) GetQueryParamsBlacklist ¶
func (x *ResourceOptions_QueryParamsOptions) GetQueryParamsBlacklist() *ResourceOptions_StringsListOption
func (*ResourceOptions_QueryParamsOptions) GetQueryParamsVariant ¶
func (m *ResourceOptions_QueryParamsOptions) GetQueryParamsVariant() isResourceOptions_QueryParamsOptions_QueryParamsVariant
func (*ResourceOptions_QueryParamsOptions) GetQueryParamsWhitelist ¶
func (x *ResourceOptions_QueryParamsOptions) GetQueryParamsWhitelist() *ResourceOptions_StringsListOption
func (*ResourceOptions_QueryParamsOptions) ProtoMessage ¶
func (*ResourceOptions_QueryParamsOptions) ProtoMessage()
func (*ResourceOptions_QueryParamsOptions) ProtoReflect ¶
func (x *ResourceOptions_QueryParamsOptions) ProtoReflect() protoreflect.Message
func (*ResourceOptions_QueryParamsOptions) Reset ¶
func (x *ResourceOptions_QueryParamsOptions) Reset()
func (*ResourceOptions_QueryParamsOptions) SetIgnoreQueryString ¶
func (m *ResourceOptions_QueryParamsOptions) SetIgnoreQueryString(v *ResourceOptions_BoolOption)
func (*ResourceOptions_QueryParamsOptions) SetQueryParamsBlacklist ¶
func (m *ResourceOptions_QueryParamsOptions) SetQueryParamsBlacklist(v *ResourceOptions_StringsListOption)
func (*ResourceOptions_QueryParamsOptions) SetQueryParamsVariant ¶
func (m *ResourceOptions_QueryParamsOptions) SetQueryParamsVariant(v ResourceOptions_QueryParamsOptions_QueryParamsVariant)
func (*ResourceOptions_QueryParamsOptions) SetQueryParamsWhitelist ¶
func (m *ResourceOptions_QueryParamsOptions) SetQueryParamsWhitelist(v *ResourceOptions_StringsListOption)
func (*ResourceOptions_QueryParamsOptions) String ¶
func (x *ResourceOptions_QueryParamsOptions) String() 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 (x *ResourceOptions_RedirectOptions) ProtoReflect() protoreflect.Message
func (*ResourceOptions_RedirectOptions) Reset ¶
func (x *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 (m *ResourceOptions_RedirectOptions) SetRedirectVariant(v ResourceOptions_RedirectOptions_RedirectVariant)
func (*ResourceOptions_RedirectOptions) String ¶
func (x *ResourceOptions_RedirectOptions) String() 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 (x *ResourceOptions_RewriteOption) GetBody() string
func (*ResourceOptions_RewriteOption) GetEnabled ¶
func (x *ResourceOptions_RewriteOption) GetEnabled() bool
func (*ResourceOptions_RewriteOption) GetFlag ¶
func (x *ResourceOptions_RewriteOption) GetFlag() RewriteFlag
func (*ResourceOptions_RewriteOption) ProtoMessage ¶
func (*ResourceOptions_RewriteOption) ProtoMessage()
func (*ResourceOptions_RewriteOption) ProtoReflect ¶
func (x *ResourceOptions_RewriteOption) ProtoReflect() protoreflect.Message
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 (m *ResourceOptions_RewriteOption) SetFlag(v RewriteFlag)
func (*ResourceOptions_RewriteOption) String ¶
func (x *ResourceOptions_RewriteOption) String() 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 (x *ResourceOptions_SecureKeyOption) GetKey() string
func (*ResourceOptions_SecureKeyOption) GetType ¶
func (x *ResourceOptions_SecureKeyOption) GetType() SecureKeyURLType
func (*ResourceOptions_SecureKeyOption) ProtoMessage ¶
func (*ResourceOptions_SecureKeyOption) ProtoMessage()
func (*ResourceOptions_SecureKeyOption) ProtoReflect ¶
func (x *ResourceOptions_SecureKeyOption) ProtoReflect() protoreflect.Message
func (*ResourceOptions_SecureKeyOption) Reset ¶
func (x *ResourceOptions_SecureKeyOption) Reset()
func (*ResourceOptions_SecureKeyOption) SetEnabled ¶
func (m *ResourceOptions_SecureKeyOption) SetEnabled(v bool)
func (*ResourceOptions_SecureKeyOption) SetKey ¶
func (m *ResourceOptions_SecureKeyOption) SetKey(v string)
func (*ResourceOptions_SecureKeyOption) SetType ¶
func (m *ResourceOptions_SecureKeyOption) SetType(v SecureKeyURLType)
func (*ResourceOptions_SecureKeyOption) String ¶
func (x *ResourceOptions_SecureKeyOption) String() 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 (x *ResourceOptions_StringOption) ProtoReflect() protoreflect.Message
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 ¶
func (x *ResourceOptions_StringOption) String() 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 (x *ResourceOptions_StringVariableMapOption) GetEnabled() bool
func (*ResourceOptions_StringVariableMapOption) GetValue ¶
func (x *ResourceOptions_StringVariableMapOption) GetValue() map[string]*ResourceOptions_StringVariableMapOption_OneofString
func (*ResourceOptions_StringVariableMapOption) ProtoMessage ¶
func (*ResourceOptions_StringVariableMapOption) ProtoMessage()
func (*ResourceOptions_StringVariableMapOption) ProtoReflect ¶
func (x *ResourceOptions_StringVariableMapOption) ProtoReflect() protoreflect.Message
func (*ResourceOptions_StringVariableMapOption) Reset ¶
func (x *ResourceOptions_StringVariableMapOption) Reset()
func (*ResourceOptions_StringVariableMapOption) SetEnabled ¶
func (m *ResourceOptions_StringVariableMapOption) SetEnabled(v bool)
func (*ResourceOptions_StringVariableMapOption) SetValue ¶
func (m *ResourceOptions_StringVariableMapOption) SetValue(v map[string]*ResourceOptions_StringVariableMapOption_OneofString)
func (*ResourceOptions_StringVariableMapOption) String ¶
func (x *ResourceOptions_StringVariableMapOption) String() 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
func (*ResourceOptions_StringVariableMapOption_OneofString) Descriptor() ([]byte, []int)
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 (x *ResourceOptions_StringVariableMapOption_OneofString) GetValue() *ResourceOptions_StringOption
func (*ResourceOptions_StringVariableMapOption_OneofString) GetValues ¶
func (x *ResourceOptions_StringVariableMapOption_OneofString) GetValues() *ResourceOptions_StringsListOption
func (*ResourceOptions_StringVariableMapOption_OneofString) ProtoMessage ¶
func (*ResourceOptions_StringVariableMapOption_OneofString) ProtoMessage()
func (*ResourceOptions_StringVariableMapOption_OneofString) ProtoReflect ¶
func (x *ResourceOptions_StringVariableMapOption_OneofString) ProtoReflect() protoreflect.Message
func (*ResourceOptions_StringVariableMapOption_OneofString) Reset ¶
func (x *ResourceOptions_StringVariableMapOption_OneofString) Reset()
func (*ResourceOptions_StringVariableMapOption_OneofString) SetStringOption ¶
func (m *ResourceOptions_StringVariableMapOption_OneofString) SetStringOption(v ResourceOptions_StringVariableMapOption_OneofString_StringOption)
func (*ResourceOptions_StringVariableMapOption_OneofString) SetValue ¶
func (m *ResourceOptions_StringVariableMapOption_OneofString) SetValue(v *ResourceOptions_StringOption)
func (*ResourceOptions_StringVariableMapOption_OneofString) SetValues ¶
func (m *ResourceOptions_StringVariableMapOption_OneofString) SetValues(v *ResourceOptions_StringsListOption)
func (*ResourceOptions_StringVariableMapOption_OneofString) String ¶
func (x *ResourceOptions_StringVariableMapOption_OneofString) String() 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 (x *ResourceOptions_StringsListOption) ProtoReflect() protoreflect.Message
func (*ResourceOptions_StringsListOption) Reset ¶
func (x *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 ¶
func (x *ResourceOptions_StringsListOption) String() 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 (x *ResourceOptions_StringsMapOption) GetValue() map[string]string
func (*ResourceOptions_StringsMapOption) ProtoMessage ¶
func (*ResourceOptions_StringsMapOption) ProtoMessage()
func (*ResourceOptions_StringsMapOption) ProtoReflect ¶
func (x *ResourceOptions_StringsMapOption) ProtoReflect() protoreflect.Message
func (*ResourceOptions_StringsMapOption) Reset ¶
func (x *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 ¶
func (x *ResourceOptions_StringsMapOption) String() 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.
func NewResourceRulesServiceClient ¶
func NewResourceRulesServiceClient(cc grpc.ClientConnInterface) ResourceRulesServiceClient
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.
func NewResourceServiceClient ¶
func NewResourceServiceClient(cc grpc.ClientConnInterface) ResourceServiceClient
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (RewriteFlag) Type() protoreflect.EnumType
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) GetOptions ¶
func (x *Rule) GetOptions() *ResourceOptions
func (*Rule) GetRulePattern ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
func (*Rule) SetOptions ¶
func (m *Rule) SetOptions(v *ResourceOptions)
func (*Rule) SetRulePattern ¶
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 (x *SSLCertificateData) GetCm() *SSLCertificateCMData
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 (m *SSLCertificateData) SetCm(v *SSLCertificateCMData)
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) Descriptor() protoreflect.EnumDescriptor
func (SSLCertificateStatus) Enum ¶
func (x SSLCertificateStatus) Enum() *SSLCertificateStatus
func (SSLCertificateStatus) EnumDescriptor
deprecated
func (SSLCertificateStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SSLCertificateStatus.Descriptor instead.
func (SSLCertificateStatus) Number ¶
func (x SSLCertificateStatus) Number() protoreflect.EnumNumber
func (SSLCertificateStatus) String ¶
func (x SSLCertificateStatus) String() string
func (SSLCertificateStatus) Type ¶
func (SSLCertificateStatus) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (SSLCertificateType) Enum ¶
func (x SSLCertificateType) Enum() *SSLCertificateType
func (SSLCertificateType) EnumDescriptor
deprecated
func (SSLCertificateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SSLCertificateType.Descriptor instead.
func (SSLCertificateType) Number ¶
func (x SSLCertificateType) Number() protoreflect.EnumNumber
func (SSLCertificateType) String ¶
func (x SSLCertificateType) String() string
func (SSLCertificateType) Type ¶
func (SSLCertificateType) Type() protoreflect.EnumType
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 (x *SSLTargetCertificate) GetData() *SSLCertificateData
func (*SSLTargetCertificate) GetType ¶
func (x *SSLTargetCertificate) GetType() SSLCertificateType
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 (m *SSLTargetCertificate) SetData(v *SSLCertificateData)
func (*SSLTargetCertificate) SetType ¶
func (m *SSLTargetCertificate) SetType(v SSLCertificateType)
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) Descriptor() protoreflect.EnumDescriptor
func (SecureKeyURLType) Enum ¶
func (x SecureKeyURLType) Enum() *SecureKeyURLType
func (SecureKeyURLType) EnumDescriptor
deprecated
func (SecureKeyURLType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecureKeyURLType.Descriptor instead.
func (SecureKeyURLType) Number ¶
func (x SecureKeyURLType) Number() protoreflect.EnumNumber
func (SecureKeyURLType) String ¶
func (x SecureKeyURLType) String() string
func (SecureKeyURLType) Type ¶
func (SecureKeyURLType) Type() protoreflect.EnumType
type UnimplementedCacheServiceServer ¶
type UnimplementedCacheServiceServer struct { }
UnimplementedCacheServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedCacheServiceServer) Prefetch ¶
func (UnimplementedCacheServiceServer) Prefetch(context.Context, *PrefetchCacheRequest) (*operation.Operation, error)
func (UnimplementedCacheServiceServer) Purge ¶
func (UnimplementedCacheServiceServer) Purge(context.Context, *PurgeCacheRequest) (*operation.Operation, error)
type UnimplementedOriginGroupServiceServer ¶
type UnimplementedOriginGroupServiceServer struct { }
UnimplementedOriginGroupServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedOriginGroupServiceServer) Create ¶
func (UnimplementedOriginGroupServiceServer) Create(context.Context, *CreateOriginGroupRequest) (*operation.Operation, error)
func (UnimplementedOriginGroupServiceServer) Delete ¶
func (UnimplementedOriginGroupServiceServer) Delete(context.Context, *DeleteOriginGroupRequest) (*operation.Operation, error)
func (UnimplementedOriginGroupServiceServer) Get ¶
func (UnimplementedOriginGroupServiceServer) Get(context.Context, *GetOriginGroupRequest) (*OriginGroup, error)
func (UnimplementedOriginGroupServiceServer) Update ¶
func (UnimplementedOriginGroupServiceServer) Update(context.Context, *UpdateOriginGroupRequest) (*operation.Operation, error)
type UnimplementedOriginServiceServer ¶
type UnimplementedOriginServiceServer struct { }
UnimplementedOriginServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedOriginServiceServer) Create ¶
func (UnimplementedOriginServiceServer) Create(context.Context, *CreateOriginRequest) (*operation.Operation, error)
func (UnimplementedOriginServiceServer) Delete ¶
func (UnimplementedOriginServiceServer) Delete(context.Context, *DeleteOriginRequest) (*operation.Operation, error)
func (UnimplementedOriginServiceServer) Get ¶
func (UnimplementedOriginServiceServer) Get(context.Context, *GetOriginRequest) (*Origin, error)
func (UnimplementedOriginServiceServer) List ¶
func (UnimplementedOriginServiceServer) List(context.Context, *ListOriginsRequest) (*ListOriginsResponse, error)
func (UnimplementedOriginServiceServer) Update ¶
func (UnimplementedOriginServiceServer) Update(context.Context, *UpdateOriginRequest) (*operation.Operation, error)
type UnimplementedProviderServiceServer ¶
type UnimplementedProviderServiceServer struct { }
UnimplementedProviderServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedProviderServiceServer) Activate ¶
func (UnimplementedProviderServiceServer) Activate(context.Context, *ActivateProviderRequest) (*operation.Operation, error)
func (UnimplementedProviderServiceServer) ListActivated ¶
func (UnimplementedProviderServiceServer) ListActivated(context.Context, *ListActivatedProvidersRequest) (*ListActivatedProvidersResponse, error)
type UnimplementedRawLogsServiceServer ¶
type UnimplementedRawLogsServiceServer struct { }
UnimplementedRawLogsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedRawLogsServiceServer) Activate ¶
func (UnimplementedRawLogsServiceServer) Activate(context.Context, *ActivateRawLogsRequest) (*operation.Operation, error)
func (UnimplementedRawLogsServiceServer) Deactivate ¶
func (UnimplementedRawLogsServiceServer) Deactivate(context.Context, *DeactivateRawLogsRequest) (*operation.Operation, error)
func (UnimplementedRawLogsServiceServer) Get ¶
func (UnimplementedRawLogsServiceServer) Get(context.Context, *GetRawLogsRequest) (*GetRawLogsResponse, error)
func (UnimplementedRawLogsServiceServer) Update ¶
func (UnimplementedRawLogsServiceServer) Update(context.Context, *UpdateRawLogsRequest) (*operation.Operation, error)
type UnimplementedResourceRulesServiceServer ¶
type UnimplementedResourceRulesServiceServer struct { }
UnimplementedResourceRulesServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResourceRulesServiceServer) Create ¶
func (UnimplementedResourceRulesServiceServer) Create(context.Context, *CreateResourceRuleRequest) (*operation.Operation, error)
func (UnimplementedResourceRulesServiceServer) Delete ¶
func (UnimplementedResourceRulesServiceServer) Delete(context.Context, *DeleteResourceRuleRequest) (*operation.Operation, error)
func (UnimplementedResourceRulesServiceServer) Get ¶
func (UnimplementedResourceRulesServiceServer) Get(context.Context, *GetResourceRuleRequest) (*Rule, error)
func (UnimplementedResourceRulesServiceServer) Update ¶
func (UnimplementedResourceRulesServiceServer) Update(context.Context, *UpdateResourceRuleRequest) (*operation.Operation, error)
type UnimplementedResourceServiceServer ¶
type UnimplementedResourceServiceServer struct { }
UnimplementedResourceServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedResourceServiceServer) Create ¶
func (UnimplementedResourceServiceServer) Create(context.Context, *CreateResourceRequest) (*operation.Operation, error)
func (UnimplementedResourceServiceServer) Delete ¶
func (UnimplementedResourceServiceServer) Delete(context.Context, *DeleteResourceRequest) (*operation.Operation, error)
func (UnimplementedResourceServiceServer) Get ¶
func (UnimplementedResourceServiceServer) Get(context.Context, *GetResourceRequest) (*Resource, error)
func (UnimplementedResourceServiceServer) GetProviderCName ¶
func (UnimplementedResourceServiceServer) GetProviderCName(context.Context, *GetProviderCNameRequest) (*GetProviderCNameResponse, error)
func (UnimplementedResourceServiceServer) List ¶
func (UnimplementedResourceServiceServer) List(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
func (UnimplementedResourceServiceServer) Update ¶
func (UnimplementedResourceServiceServer) Update(context.Context, *UpdateResourceRequest) (*operation.Operation, error)
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 (x *UpdateOriginGroupMetadata) ProtoReflect() protoreflect.Message
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 (x *UpdateOriginGroupRequest) GetUseNext() *wrapperspb.BoolValue
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 (x *UpdateResourceRuleMetadata) ProtoReflect() protoreflect.Message
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 (x *UpdateResourceRuleRequest) ProtoReflect() protoreflect.Message
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
Source Files ¶
- cache_service.pb.go
- cache_service.pbext.go
- cache_service_grpc.pb.go
- origin.pb.go
- origin.pbext.go
- origin_group.pb.go
- origin_group.pbext.go
- origin_group_service.pb.go
- origin_group_service.pbext.go
- origin_group_service_grpc.pb.go
- origin_service.pb.go
- origin_service.pbext.go
- origin_service_grpc.pb.go
- provider_service.pb.go
- provider_service.pbext.go
- provider_service_grpc.pb.go
- raw_logs.pb.go
- raw_logs.pbext.go
- raw_logs_service.pb.go
- raw_logs_service.pbext.go
- raw_logs_service_grpc.pb.go
- resource.pb.go
- resource.pbext.go
- resource_service.pb.go
- resource_service.pbext.go
- resource_service_grpc.pb.go
- rule.pb.go
- rule.pbext.go
- rule_service.pb.go
- rule_service.pbext.go
- rule_service_grpc.pb.go