Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDnsZoneServiceServer(s grpc.ServiceRegistrar, srv DnsZoneServiceServer)
- type CreateDnsZoneMetadata
- func (*CreateDnsZoneMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDnsZoneMetadata) GetDnsZoneId() string
- func (*CreateDnsZoneMetadata) ProtoMessage()
- func (x *CreateDnsZoneMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateDnsZoneMetadata) Reset()
- func (m *CreateDnsZoneMetadata) SetDnsZoneId(v string)
- func (x *CreateDnsZoneMetadata) String() string
- type CreateDnsZoneRequest
- func (*CreateDnsZoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDnsZoneRequest) GetDeletionProtection() bool
- func (x *CreateDnsZoneRequest) GetDescription() string
- func (x *CreateDnsZoneRequest) GetFolderId() string
- func (x *CreateDnsZoneRequest) GetLabels() map[string]string
- func (x *CreateDnsZoneRequest) GetName() string
- func (x *CreateDnsZoneRequest) GetPrivateVisibility() *PrivateVisibility
- func (x *CreateDnsZoneRequest) GetPublicVisibility() *PublicVisibility
- func (x *CreateDnsZoneRequest) GetZone() string
- func (*CreateDnsZoneRequest) ProtoMessage()
- func (x *CreateDnsZoneRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDnsZoneRequest) Reset()
- func (m *CreateDnsZoneRequest) SetDeletionProtection(v bool)
- func (m *CreateDnsZoneRequest) SetDescription(v string)
- func (m *CreateDnsZoneRequest) SetFolderId(v string)
- func (m *CreateDnsZoneRequest) SetLabels(v map[string]string)
- func (m *CreateDnsZoneRequest) SetName(v string)
- func (m *CreateDnsZoneRequest) SetPrivateVisibility(v *PrivateVisibility)
- func (m *CreateDnsZoneRequest) SetPublicVisibility(v *PublicVisibility)
- func (m *CreateDnsZoneRequest) SetZone(v string)
- func (x *CreateDnsZoneRequest) String() string
- type DeleteDnsZoneMetadata
- func (*DeleteDnsZoneMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDnsZoneMetadata) GetDnsZoneId() string
- func (*DeleteDnsZoneMetadata) ProtoMessage()
- func (x *DeleteDnsZoneMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteDnsZoneMetadata) Reset()
- func (m *DeleteDnsZoneMetadata) SetDnsZoneId(v string)
- func (x *DeleteDnsZoneMetadata) String() string
- type DeleteDnsZoneRequest
- func (*DeleteDnsZoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDnsZoneRequest) GetDnsZoneId() string
- func (*DeleteDnsZoneRequest) ProtoMessage()
- func (x *DeleteDnsZoneRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDnsZoneRequest) Reset()
- func (m *DeleteDnsZoneRequest) SetDnsZoneId(v string)
- func (x *DeleteDnsZoneRequest) String() string
- type DnsZone
- func (*DnsZone) Descriptor() ([]byte, []int)deprecated
- func (x *DnsZone) GetCreatedAt() *timestamppb.Timestamp
- func (x *DnsZone) GetDeletionProtection() bool
- func (x *DnsZone) GetDescription() string
- func (x *DnsZone) GetFolderId() string
- func (x *DnsZone) GetId() string
- func (x *DnsZone) GetLabels() map[string]string
- func (x *DnsZone) GetName() string
- func (x *DnsZone) GetPrivateVisibility() *PrivateVisibility
- func (x *DnsZone) GetPublicVisibility() *PublicVisibility
- func (x *DnsZone) GetZone() string
- func (*DnsZone) ProtoMessage()
- func (x *DnsZone) ProtoReflect() protoreflect.Message
- func (x *DnsZone) Reset()
- func (m *DnsZone) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *DnsZone) SetDeletionProtection(v bool)
- func (m *DnsZone) SetDescription(v string)
- func (m *DnsZone) SetFolderId(v string)
- func (m *DnsZone) SetId(v string)
- func (m *DnsZone) SetLabels(v map[string]string)
- func (m *DnsZone) SetName(v string)
- func (m *DnsZone) SetPrivateVisibility(v *PrivateVisibility)
- func (m *DnsZone) SetPublicVisibility(v *PublicVisibility)
- func (m *DnsZone) SetZone(v string)
- func (x *DnsZone) String() string
- type DnsZoneServiceClient
- type DnsZoneServiceServer
- type GetDnsZoneRecordSetRequest
- func (*GetDnsZoneRecordSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDnsZoneRecordSetRequest) GetDnsZoneId() string
- func (x *GetDnsZoneRecordSetRequest) GetName() string
- func (x *GetDnsZoneRecordSetRequest) GetType() string
- func (*GetDnsZoneRecordSetRequest) ProtoMessage()
- func (x *GetDnsZoneRecordSetRequest) ProtoReflect() protoreflect.Message
- func (x *GetDnsZoneRecordSetRequest) Reset()
- func (m *GetDnsZoneRecordSetRequest) SetDnsZoneId(v string)
- func (m *GetDnsZoneRecordSetRequest) SetName(v string)
- func (m *GetDnsZoneRecordSetRequest) SetType(v string)
- func (x *GetDnsZoneRecordSetRequest) String() string
- type GetDnsZoneRequest
- func (*GetDnsZoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDnsZoneRequest) GetDnsZoneId() string
- func (*GetDnsZoneRequest) ProtoMessage()
- func (x *GetDnsZoneRequest) ProtoReflect() protoreflect.Message
- func (x *GetDnsZoneRequest) Reset()
- func (m *GetDnsZoneRequest) SetDnsZoneId(v string)
- func (x *GetDnsZoneRequest) String() string
- type ListDnsZoneOperationsRequest
- func (*ListDnsZoneOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDnsZoneOperationsRequest) GetDnsZoneId() string
- func (x *ListDnsZoneOperationsRequest) GetFilter() string
- func (x *ListDnsZoneOperationsRequest) GetPageSize() int64
- func (x *ListDnsZoneOperationsRequest) GetPageToken() string
- func (*ListDnsZoneOperationsRequest) ProtoMessage()
- func (x *ListDnsZoneOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDnsZoneOperationsRequest) Reset()
- func (m *ListDnsZoneOperationsRequest) SetDnsZoneId(v string)
- func (m *ListDnsZoneOperationsRequest) SetFilter(v string)
- func (m *ListDnsZoneOperationsRequest) SetPageSize(v int64)
- func (m *ListDnsZoneOperationsRequest) SetPageToken(v string)
- func (x *ListDnsZoneOperationsRequest) String() string
- type ListDnsZoneOperationsResponse
- func (*ListDnsZoneOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDnsZoneOperationsResponse) GetNextPageToken() string
- func (x *ListDnsZoneOperationsResponse) GetOperations() []*operation.Operation
- func (*ListDnsZoneOperationsResponse) ProtoMessage()
- func (x *ListDnsZoneOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDnsZoneOperationsResponse) Reset()
- func (m *ListDnsZoneOperationsResponse) SetNextPageToken(v string)
- func (m *ListDnsZoneOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListDnsZoneOperationsResponse) String() string
- type ListDnsZoneRecordSetsRequest
- func (*ListDnsZoneRecordSetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDnsZoneRecordSetsRequest) GetDnsZoneId() string
- func (x *ListDnsZoneRecordSetsRequest) GetFilter() string
- func (x *ListDnsZoneRecordSetsRequest) GetPageSize() int64
- func (x *ListDnsZoneRecordSetsRequest) GetPageToken() string
- func (*ListDnsZoneRecordSetsRequest) ProtoMessage()
- func (x *ListDnsZoneRecordSetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDnsZoneRecordSetsRequest) Reset()
- func (m *ListDnsZoneRecordSetsRequest) SetDnsZoneId(v string)
- func (m *ListDnsZoneRecordSetsRequest) SetFilter(v string)
- func (m *ListDnsZoneRecordSetsRequest) SetPageSize(v int64)
- func (m *ListDnsZoneRecordSetsRequest) SetPageToken(v string)
- func (x *ListDnsZoneRecordSetsRequest) String() string
- type ListDnsZoneRecordSetsResponse
- func (*ListDnsZoneRecordSetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDnsZoneRecordSetsResponse) GetNextPageToken() string
- func (x *ListDnsZoneRecordSetsResponse) GetRecordSets() []*RecordSet
- func (*ListDnsZoneRecordSetsResponse) ProtoMessage()
- func (x *ListDnsZoneRecordSetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDnsZoneRecordSetsResponse) Reset()
- func (m *ListDnsZoneRecordSetsResponse) SetNextPageToken(v string)
- func (m *ListDnsZoneRecordSetsResponse) SetRecordSets(v []*RecordSet)
- func (x *ListDnsZoneRecordSetsResponse) String() string
- type ListDnsZonesRequest
- func (*ListDnsZonesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDnsZonesRequest) GetFilter() string
- func (x *ListDnsZonesRequest) GetFolderId() string
- func (x *ListDnsZonesRequest) GetPageSize() int64
- func (x *ListDnsZonesRequest) GetPageToken() string
- func (*ListDnsZonesRequest) ProtoMessage()
- func (x *ListDnsZonesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDnsZonesRequest) Reset()
- func (m *ListDnsZonesRequest) SetFilter(v string)
- func (m *ListDnsZonesRequest) SetFolderId(v string)
- func (m *ListDnsZonesRequest) SetPageSize(v int64)
- func (m *ListDnsZonesRequest) SetPageToken(v string)
- func (x *ListDnsZonesRequest) String() string
- type ListDnsZonesResponse
- func (*ListDnsZonesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDnsZonesResponse) GetDnsZones() []*DnsZone
- func (x *ListDnsZonesResponse) GetNextPageToken() string
- func (*ListDnsZonesResponse) ProtoMessage()
- func (x *ListDnsZonesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDnsZonesResponse) Reset()
- func (m *ListDnsZonesResponse) SetDnsZones(v []*DnsZone)
- func (m *ListDnsZonesResponse) SetNextPageToken(v string)
- func (x *ListDnsZonesResponse) String() string
- type PrivateVisibility
- func (*PrivateVisibility) Descriptor() ([]byte, []int)deprecated
- func (x *PrivateVisibility) GetNetworkIds() []string
- func (*PrivateVisibility) ProtoMessage()
- func (x *PrivateVisibility) ProtoReflect() protoreflect.Message
- func (x *PrivateVisibility) Reset()
- func (m *PrivateVisibility) SetNetworkIds(v []string)
- func (x *PrivateVisibility) String() string
- type PublicVisibility
- type RecordSet
- func (*RecordSet) Descriptor() ([]byte, []int)deprecated
- func (x *RecordSet) GetData() []string
- func (x *RecordSet) GetName() string
- func (x *RecordSet) GetTtl() int64
- func (x *RecordSet) GetType() string
- func (*RecordSet) ProtoMessage()
- func (x *RecordSet) ProtoReflect() protoreflect.Message
- func (x *RecordSet) Reset()
- func (m *RecordSet) SetData(v []string)
- func (m *RecordSet) SetName(v string)
- func (m *RecordSet) SetTtl(v int64)
- func (m *RecordSet) SetType(v string)
- func (x *RecordSet) String() string
- type RecordSetDiff
- func (*RecordSetDiff) Descriptor() ([]byte, []int)deprecated
- func (x *RecordSetDiff) GetAdditions() []*RecordSet
- func (x *RecordSetDiff) GetDeletions() []*RecordSet
- func (*RecordSetDiff) ProtoMessage()
- func (x *RecordSetDiff) ProtoReflect() protoreflect.Message
- func (x *RecordSetDiff) Reset()
- func (m *RecordSetDiff) SetAdditions(v []*RecordSet)
- func (m *RecordSetDiff) SetDeletions(v []*RecordSet)
- func (x *RecordSetDiff) String() string
- type UnimplementedDnsZoneServiceServer
- func (UnimplementedDnsZoneServiceServer) Create(context.Context, *CreateDnsZoneRequest) (*operation.Operation, error)
- func (UnimplementedDnsZoneServiceServer) Delete(context.Context, *DeleteDnsZoneRequest) (*operation.Operation, error)
- func (UnimplementedDnsZoneServiceServer) Get(context.Context, *GetDnsZoneRequest) (*DnsZone, error)
- func (UnimplementedDnsZoneServiceServer) GetRecordSet(context.Context, *GetDnsZoneRecordSetRequest) (*RecordSet, error)
- func (UnimplementedDnsZoneServiceServer) List(context.Context, *ListDnsZonesRequest) (*ListDnsZonesResponse, error)
- func (UnimplementedDnsZoneServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedDnsZoneServiceServer) ListOperations(context.Context, *ListDnsZoneOperationsRequest) (*ListDnsZoneOperationsResponse, error)
- func (UnimplementedDnsZoneServiceServer) ListRecordSets(context.Context, *ListDnsZoneRecordSetsRequest) (*ListDnsZoneRecordSetsResponse, error)
- func (UnimplementedDnsZoneServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedDnsZoneServiceServer) Update(context.Context, *UpdateDnsZoneRequest) (*operation.Operation, error)
- func (UnimplementedDnsZoneServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedDnsZoneServiceServer) UpdatePrivateNetworks(context.Context, *UpdateDnsZonePrivateNetworksRequest) (*operation.Operation, error)
- func (UnimplementedDnsZoneServiceServer) UpdateRecordSets(context.Context, *UpdateRecordSetsRequest) (*operation.Operation, error)
- func (UnimplementedDnsZoneServiceServer) UpsertRecordSets(context.Context, *UpsertRecordSetsRequest) (*operation.Operation, error)
- type UnsafeDnsZoneServiceServer
- type UpdateDnsZoneMetadata
- func (*UpdateDnsZoneMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDnsZoneMetadata) GetDnsZoneId() string
- func (*UpdateDnsZoneMetadata) ProtoMessage()
- func (x *UpdateDnsZoneMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateDnsZoneMetadata) Reset()
- func (m *UpdateDnsZoneMetadata) SetDnsZoneId(v string)
- func (x *UpdateDnsZoneMetadata) String() string
- type UpdateDnsZonePrivateNetworksMetadata
- func (*UpdateDnsZonePrivateNetworksMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDnsZonePrivateNetworksMetadata) GetDnsZoneId() string
- func (*UpdateDnsZonePrivateNetworksMetadata) ProtoMessage()
- func (x *UpdateDnsZonePrivateNetworksMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateDnsZonePrivateNetworksMetadata) Reset()
- func (m *UpdateDnsZonePrivateNetworksMetadata) SetDnsZoneId(v string)
- func (x *UpdateDnsZonePrivateNetworksMetadata) String() string
- type UpdateDnsZonePrivateNetworksRequest
- func (*UpdateDnsZonePrivateNetworksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDnsZonePrivateNetworksRequest) GetDnsZoneId() string
- func (x *UpdateDnsZonePrivateNetworksRequest) GetPrivateNetworkIdAdditions() []string
- func (x *UpdateDnsZonePrivateNetworksRequest) GetPrivateNetworkIdDeletions() []string
- func (*UpdateDnsZonePrivateNetworksRequest) ProtoMessage()
- func (x *UpdateDnsZonePrivateNetworksRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDnsZonePrivateNetworksRequest) Reset()
- func (m *UpdateDnsZonePrivateNetworksRequest) SetDnsZoneId(v string)
- func (m *UpdateDnsZonePrivateNetworksRequest) SetPrivateNetworkIdAdditions(v []string)
- func (m *UpdateDnsZonePrivateNetworksRequest) SetPrivateNetworkIdDeletions(v []string)
- func (x *UpdateDnsZonePrivateNetworksRequest) String() string
- type UpdateDnsZoneRequest
- func (*UpdateDnsZoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDnsZoneRequest) GetDeletionProtection() bool
- func (x *UpdateDnsZoneRequest) GetDescription() string
- func (x *UpdateDnsZoneRequest) GetDnsZoneId() string
- func (x *UpdateDnsZoneRequest) GetLabels() map[string]string
- func (x *UpdateDnsZoneRequest) GetName() string
- func (x *UpdateDnsZoneRequest) GetPrivateVisibility() *PrivateVisibility
- func (x *UpdateDnsZoneRequest) GetPublicVisibility() *PublicVisibility
- func (x *UpdateDnsZoneRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDnsZoneRequest) ProtoMessage()
- func (x *UpdateDnsZoneRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDnsZoneRequest) Reset()
- func (m *UpdateDnsZoneRequest) SetDeletionProtection(v bool)
- func (m *UpdateDnsZoneRequest) SetDescription(v string)
- func (m *UpdateDnsZoneRequest) SetDnsZoneId(v string)
- func (m *UpdateDnsZoneRequest) SetLabels(v map[string]string)
- func (m *UpdateDnsZoneRequest) SetName(v string)
- func (m *UpdateDnsZoneRequest) SetPrivateVisibility(v *PrivateVisibility)
- func (m *UpdateDnsZoneRequest) SetPublicVisibility(v *PublicVisibility)
- func (m *UpdateDnsZoneRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateDnsZoneRequest) String() string
- type UpdateRecordSetsMetadata
- type UpdateRecordSetsRequest
- func (*UpdateRecordSetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRecordSetsRequest) GetAdditions() []*RecordSet
- func (x *UpdateRecordSetsRequest) GetDeletions() []*RecordSet
- func (x *UpdateRecordSetsRequest) GetDnsZoneId() string
- func (*UpdateRecordSetsRequest) ProtoMessage()
- func (x *UpdateRecordSetsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRecordSetsRequest) Reset()
- func (m *UpdateRecordSetsRequest) SetAdditions(v []*RecordSet)
- func (m *UpdateRecordSetsRequest) SetDeletions(v []*RecordSet)
- func (m *UpdateRecordSetsRequest) SetDnsZoneId(v string)
- func (x *UpdateRecordSetsRequest) String() string
- type UpsertRecordSetsMetadata
- type UpsertRecordSetsRequest
- func (*UpsertRecordSetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertRecordSetsRequest) GetDeletions() []*RecordSet
- func (x *UpsertRecordSetsRequest) GetDnsZoneId() string
- func (x *UpsertRecordSetsRequest) GetMerges() []*RecordSet
- func (x *UpsertRecordSetsRequest) GetReplacements() []*RecordSet
- func (*UpsertRecordSetsRequest) ProtoMessage()
- func (x *UpsertRecordSetsRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertRecordSetsRequest) Reset()
- func (m *UpsertRecordSetsRequest) SetDeletions(v []*RecordSet)
- func (m *UpsertRecordSetsRequest) SetDnsZoneId(v string)
- func (m *UpsertRecordSetsRequest) SetMerges(v []*RecordSet)
- func (m *UpsertRecordSetsRequest) SetReplacements(v []*RecordSet)
- func (x *UpsertRecordSetsRequest) String() string
Constants ¶
const ( DnsZoneService_Get_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/Get" DnsZoneService_List_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/List" DnsZoneService_Create_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/Create" DnsZoneService_Update_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/Update" DnsZoneService_Delete_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/Delete" DnsZoneService_GetRecordSet_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/GetRecordSet" DnsZoneService_ListRecordSets_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/ListRecordSets" DnsZoneService_UpdateRecordSets_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/UpdateRecordSets" DnsZoneService_UpsertRecordSets_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/UpsertRecordSets" DnsZoneService_ListOperations_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/ListOperations" DnsZoneService_ListAccessBindings_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/ListAccessBindings" DnsZoneService_SetAccessBindings_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/SetAccessBindings" DnsZoneService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/UpdateAccessBindings" DnsZoneService_UpdatePrivateNetworks_FullMethodName = "/yandex.cloud.dns.v1.DnsZoneService/UpdatePrivateNetworks" )
Variables ¶
var DnsZoneService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.dns.v1.DnsZoneService", HandlerType: (*DnsZoneServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _DnsZoneService_Get_Handler, }, { MethodName: "List", Handler: _DnsZoneService_List_Handler, }, { MethodName: "Create", Handler: _DnsZoneService_Create_Handler, }, { MethodName: "Update", Handler: _DnsZoneService_Update_Handler, }, { MethodName: "Delete", Handler: _DnsZoneService_Delete_Handler, }, { MethodName: "GetRecordSet", Handler: _DnsZoneService_GetRecordSet_Handler, }, { MethodName: "ListRecordSets", Handler: _DnsZoneService_ListRecordSets_Handler, }, { MethodName: "UpdateRecordSets", Handler: _DnsZoneService_UpdateRecordSets_Handler, }, { MethodName: "UpsertRecordSets", Handler: _DnsZoneService_UpsertRecordSets_Handler, }, { MethodName: "ListOperations", Handler: _DnsZoneService_ListOperations_Handler, }, { MethodName: "ListAccessBindings", Handler: _DnsZoneService_ListAccessBindings_Handler, }, { MethodName: "SetAccessBindings", Handler: _DnsZoneService_SetAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _DnsZoneService_UpdateAccessBindings_Handler, }, { MethodName: "UpdatePrivateNetworks", Handler: _DnsZoneService_UpdatePrivateNetworks_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/dns/v1/dns_zone_service.proto", }
DnsZoneService_ServiceDesc is the grpc.ServiceDesc for DnsZoneService 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_dns_v1_dns_zone_proto protoreflect.FileDescriptor
var File_yandex_cloud_dns_v1_dns_zone_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDnsZoneServiceServer ¶
func RegisterDnsZoneServiceServer(s grpc.ServiceRegistrar, srv DnsZoneServiceServer)
Types ¶
type CreateDnsZoneMetadata ¶
type CreateDnsZoneMetadata struct { // ID of the DNS zone that is being created. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // contains filtered or unexported fields }
func (*CreateDnsZoneMetadata) Descriptor
deprecated
func (*CreateDnsZoneMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateDnsZoneMetadata.ProtoReflect.Descriptor instead.
func (*CreateDnsZoneMetadata) GetDnsZoneId ¶
func (x *CreateDnsZoneMetadata) GetDnsZoneId() string
func (*CreateDnsZoneMetadata) ProtoMessage ¶
func (*CreateDnsZoneMetadata) ProtoMessage()
func (*CreateDnsZoneMetadata) ProtoReflect ¶
func (x *CreateDnsZoneMetadata) ProtoReflect() protoreflect.Message
func (*CreateDnsZoneMetadata) Reset ¶
func (x *CreateDnsZoneMetadata) Reset()
func (*CreateDnsZoneMetadata) SetDnsZoneId ¶
func (m *CreateDnsZoneMetadata) SetDnsZoneId(v string)
func (*CreateDnsZoneMetadata) String ¶
func (x *CreateDnsZoneMetadata) String() string
type CreateDnsZoneRequest ¶
type CreateDnsZoneRequest struct { // ID of the folder to create DNS zones in. // // To get a folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the DNS zone. // The name must be unique within the folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the DNS zone. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // DNS zone labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // DNS zone suffix. Zone string `protobuf:"bytes,5,opt,name=zone,proto3" json:"zone,omitempty"` // Privately visible zone settings. // At least one of two visibility fields must be set. PrivateVisibility *PrivateVisibility `protobuf:"bytes,6,opt,name=private_visibility,json=privateVisibility,proto3" json:"private_visibility,omitempty"` // Publicly visible zone settings. // At least one of two visibility fields must be set. PublicVisibility *PublicVisibility `protobuf:"bytes,7,opt,name=public_visibility,json=publicVisibility,proto3" json:"public_visibility,omitempty"` // Prevents accidental zone removal. DeletionProtection bool `protobuf:"varint,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // contains filtered or unexported fields }
func (*CreateDnsZoneRequest) Descriptor
deprecated
func (*CreateDnsZoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDnsZoneRequest.ProtoReflect.Descriptor instead.
func (*CreateDnsZoneRequest) GetDeletionProtection ¶
func (x *CreateDnsZoneRequest) GetDeletionProtection() bool
func (*CreateDnsZoneRequest) GetDescription ¶
func (x *CreateDnsZoneRequest) GetDescription() string
func (*CreateDnsZoneRequest) GetFolderId ¶
func (x *CreateDnsZoneRequest) GetFolderId() string
func (*CreateDnsZoneRequest) GetLabels ¶
func (x *CreateDnsZoneRequest) GetLabels() map[string]string
func (*CreateDnsZoneRequest) GetName ¶
func (x *CreateDnsZoneRequest) GetName() string
func (*CreateDnsZoneRequest) GetPrivateVisibility ¶
func (x *CreateDnsZoneRequest) GetPrivateVisibility() *PrivateVisibility
func (*CreateDnsZoneRequest) GetPublicVisibility ¶
func (x *CreateDnsZoneRequest) GetPublicVisibility() *PublicVisibility
func (*CreateDnsZoneRequest) GetZone ¶
func (x *CreateDnsZoneRequest) GetZone() string
func (*CreateDnsZoneRequest) ProtoMessage ¶
func (*CreateDnsZoneRequest) ProtoMessage()
func (*CreateDnsZoneRequest) ProtoReflect ¶
func (x *CreateDnsZoneRequest) ProtoReflect() protoreflect.Message
func (*CreateDnsZoneRequest) Reset ¶
func (x *CreateDnsZoneRequest) Reset()
func (*CreateDnsZoneRequest) SetDeletionProtection ¶
func (m *CreateDnsZoneRequest) SetDeletionProtection(v bool)
func (*CreateDnsZoneRequest) SetDescription ¶
func (m *CreateDnsZoneRequest) SetDescription(v string)
func (*CreateDnsZoneRequest) SetFolderId ¶
func (m *CreateDnsZoneRequest) SetFolderId(v string)
func (*CreateDnsZoneRequest) SetLabels ¶
func (m *CreateDnsZoneRequest) SetLabels(v map[string]string)
func (*CreateDnsZoneRequest) SetName ¶
func (m *CreateDnsZoneRequest) SetName(v string)
func (*CreateDnsZoneRequest) SetPrivateVisibility ¶
func (m *CreateDnsZoneRequest) SetPrivateVisibility(v *PrivateVisibility)
func (*CreateDnsZoneRequest) SetPublicVisibility ¶
func (m *CreateDnsZoneRequest) SetPublicVisibility(v *PublicVisibility)
func (*CreateDnsZoneRequest) SetZone ¶
func (m *CreateDnsZoneRequest) SetZone(v string)
func (*CreateDnsZoneRequest) String ¶
func (x *CreateDnsZoneRequest) String() string
type DeleteDnsZoneMetadata ¶
type DeleteDnsZoneMetadata struct { // ID of the DNS zone that is being deleted. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDnsZoneMetadata) Descriptor
deprecated
func (*DeleteDnsZoneMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDnsZoneMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDnsZoneMetadata) GetDnsZoneId ¶
func (x *DeleteDnsZoneMetadata) GetDnsZoneId() string
func (*DeleteDnsZoneMetadata) ProtoMessage ¶
func (*DeleteDnsZoneMetadata) ProtoMessage()
func (*DeleteDnsZoneMetadata) ProtoReflect ¶
func (x *DeleteDnsZoneMetadata) ProtoReflect() protoreflect.Message
func (*DeleteDnsZoneMetadata) Reset ¶
func (x *DeleteDnsZoneMetadata) Reset()
func (*DeleteDnsZoneMetadata) SetDnsZoneId ¶
func (m *DeleteDnsZoneMetadata) SetDnsZoneId(v string)
func (*DeleteDnsZoneMetadata) String ¶
func (x *DeleteDnsZoneMetadata) String() string
type DeleteDnsZoneRequest ¶
type DeleteDnsZoneRequest struct { // ID of the DNS zone to delete. // // To get a DNS zone ID, make a [DnsZoneService.List] request. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDnsZoneRequest) Descriptor
deprecated
func (*DeleteDnsZoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDnsZoneRequest.ProtoReflect.Descriptor instead.
func (*DeleteDnsZoneRequest) GetDnsZoneId ¶
func (x *DeleteDnsZoneRequest) GetDnsZoneId() string
func (*DeleteDnsZoneRequest) ProtoMessage ¶
func (*DeleteDnsZoneRequest) ProtoMessage()
func (*DeleteDnsZoneRequest) ProtoReflect ¶
func (x *DeleteDnsZoneRequest) ProtoReflect() protoreflect.Message
func (*DeleteDnsZoneRequest) Reset ¶
func (x *DeleteDnsZoneRequest) Reset()
func (*DeleteDnsZoneRequest) SetDnsZoneId ¶
func (m *DeleteDnsZoneRequest) SetDnsZoneId(v string)
func (*DeleteDnsZoneRequest) String ¶
func (x *DeleteDnsZoneRequest) String() string
type DnsZone ¶
type DnsZone struct { // ID of the DNS zone. Generated at creation time. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the DNS zone belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the DNS zone. // The name is unique within the folder. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the DNS zone. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // DNS zone labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // DNS zone suffix. Zone string `protobuf:"bytes,7,opt,name=zone,proto3" json:"zone,omitempty"` // Privately visible zone settings. // Specifies whether records within the zone are visible from a VPC networks only. PrivateVisibility *PrivateVisibility `protobuf:"bytes,8,opt,name=private_visibility,json=privateVisibility,proto3" json:"private_visibility,omitempty"` // Publicly visible zone settings. // Indicates whether records within the zone are publicly visible. PublicVisibility *PublicVisibility `protobuf:"bytes,9,opt,name=public_visibility,json=publicVisibility,proto3" json:"public_visibility,omitempty"` // Prevents accidental zone removal. DeletionProtection bool `protobuf:"varint,10,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // contains filtered or unexported fields }
A DNS zone. For details about the concept, see [DNS zones](/docs/dns/concepts/dns-zone).
func (*DnsZone) Descriptor
deprecated
func (*DnsZone) GetCreatedAt ¶
func (x *DnsZone) GetCreatedAt() *timestamppb.Timestamp
func (*DnsZone) GetDeletionProtection ¶
func (*DnsZone) GetDescription ¶
func (*DnsZone) GetFolderId ¶
func (*DnsZone) GetPrivateVisibility ¶
func (x *DnsZone) GetPrivateVisibility() *PrivateVisibility
func (*DnsZone) GetPublicVisibility ¶
func (x *DnsZone) GetPublicVisibility() *PublicVisibility
func (*DnsZone) ProtoMessage ¶
func (*DnsZone) ProtoMessage()
func (*DnsZone) ProtoReflect ¶
func (x *DnsZone) ProtoReflect() protoreflect.Message
func (*DnsZone) SetCreatedAt ¶
func (m *DnsZone) SetCreatedAt(v *timestamppb.Timestamp)
func (*DnsZone) SetDeletionProtection ¶
func (*DnsZone) SetDescription ¶
func (*DnsZone) SetFolderId ¶
func (*DnsZone) SetPrivateVisibility ¶
func (m *DnsZone) SetPrivateVisibility(v *PrivateVisibility)
func (*DnsZone) SetPublicVisibility ¶
func (m *DnsZone) SetPublicVisibility(v *PublicVisibility)
type DnsZoneServiceClient ¶
type DnsZoneServiceClient interface { // Returns the specified DNS zone. // // To get the list of all available DNS zones, make a [List] request. Get(ctx context.Context, in *GetDnsZoneRequest, opts ...grpc.CallOption) (*DnsZone, error) // Retrieves the list of DNS zones in the specified folder. List(ctx context.Context, in *ListDnsZonesRequest, opts ...grpc.CallOption) (*ListDnsZonesResponse, error) // Creates a DNS zone in the specified folder. Create(ctx context.Context, in *CreateDnsZoneRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified DNS zone. Update(ctx context.Context, in *UpdateDnsZoneRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified DNS zone. Delete(ctx context.Context, in *DeleteDnsZoneRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Returns the specified record set. GetRecordSet(ctx context.Context, in *GetDnsZoneRecordSetRequest, opts ...grpc.CallOption) (*RecordSet, error) // Retrieves the list of record sets in the specified folder. ListRecordSets(ctx context.Context, in *ListDnsZoneRecordSetsRequest, opts ...grpc.CallOption) (*ListDnsZoneRecordSetsResponse, error) // Method with strict control for changing zone state. Returns error when: // 1. Deleted record is not found. // 2. Found record with matched type and name but different TTL or value. // 3. Attempted to add record with existing name and type. // Deletions happen first. If a record with the same name and type exists in both lists, // then the existing record will be deleted, and a new one added. UpdateRecordSets(ctx context.Context, in *UpdateRecordSetsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Method without strict control for changing zone state. Nothing happens if deleted record doesn't exist. // Deletes records that match all specified fields which allows to delete only specified records from a record set. UpsertRecordSets(ctx context.Context, in *UpsertRecordSetsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified DNS zone. ListOperations(ctx context.Context, in *ListDnsZoneOperationsRequest, opts ...grpc.CallOption) (*ListDnsZoneOperationsResponse, error) // Lists existing access bindings for the specified DNS zone. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified DNS zone. SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates access bindings for the specified DNS zone. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Atomically updates zone private networks UpdatePrivateNetworks(ctx context.Context, in *UpdateDnsZonePrivateNetworksRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
DnsZoneServiceClient is the client API for DnsZoneService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A set of methods for managing DNS zones.
func NewDnsZoneServiceClient ¶
func NewDnsZoneServiceClient(cc grpc.ClientConnInterface) DnsZoneServiceClient
type DnsZoneServiceServer ¶
type DnsZoneServiceServer interface { // Returns the specified DNS zone. // // To get the list of all available DNS zones, make a [List] request. Get(context.Context, *GetDnsZoneRequest) (*DnsZone, error) // Retrieves the list of DNS zones in the specified folder. List(context.Context, *ListDnsZonesRequest) (*ListDnsZonesResponse, error) // Creates a DNS zone in the specified folder. Create(context.Context, *CreateDnsZoneRequest) (*operation.Operation, error) // Updates the specified DNS zone. Update(context.Context, *UpdateDnsZoneRequest) (*operation.Operation, error) // Deletes the specified DNS zone. Delete(context.Context, *DeleteDnsZoneRequest) (*operation.Operation, error) // Returns the specified record set. GetRecordSet(context.Context, *GetDnsZoneRecordSetRequest) (*RecordSet, error) // Retrieves the list of record sets in the specified folder. ListRecordSets(context.Context, *ListDnsZoneRecordSetsRequest) (*ListDnsZoneRecordSetsResponse, error) // Method with strict control for changing zone state. Returns error when: // 1. Deleted record is not found. // 2. Found record with matched type and name but different TTL or value. // 3. Attempted to add record with existing name and type. // Deletions happen first. If a record with the same name and type exists in both lists, // then the existing record will be deleted, and a new one added. UpdateRecordSets(context.Context, *UpdateRecordSetsRequest) (*operation.Operation, error) // Method without strict control for changing zone state. Nothing happens if deleted record doesn't exist. // Deletes records that match all specified fields which allows to delete only specified records from a record set. UpsertRecordSets(context.Context, *UpsertRecordSetsRequest) (*operation.Operation, error) // Lists operations for the specified DNS zone. ListOperations(context.Context, *ListDnsZoneOperationsRequest) (*ListDnsZoneOperationsResponse, error) // Lists existing access bindings for the specified DNS zone. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified DNS zone. SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error) // Updates access bindings for the specified DNS zone. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) // Atomically updates zone private networks UpdatePrivateNetworks(context.Context, *UpdateDnsZonePrivateNetworksRequest) (*operation.Operation, error) }
DnsZoneServiceServer is the server API for DnsZoneService service. All implementations should embed UnimplementedDnsZoneServiceServer for forward compatibility.
A set of methods for managing DNS zones.
type GetDnsZoneRecordSetRequest ¶
type GetDnsZoneRecordSetRequest struct { // ID of the DNS zone to get record set from. // // To get a DNS zone ID, make a [DnsZoneService.List] request. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // Name of the record set. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Type of the record set. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetDnsZoneRecordSetRequest) Descriptor
deprecated
func (*GetDnsZoneRecordSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDnsZoneRecordSetRequest.ProtoReflect.Descriptor instead.
func (*GetDnsZoneRecordSetRequest) GetDnsZoneId ¶
func (x *GetDnsZoneRecordSetRequest) GetDnsZoneId() string
func (*GetDnsZoneRecordSetRequest) GetName ¶
func (x *GetDnsZoneRecordSetRequest) GetName() string
func (*GetDnsZoneRecordSetRequest) GetType ¶
func (x *GetDnsZoneRecordSetRequest) GetType() string
func (*GetDnsZoneRecordSetRequest) ProtoMessage ¶
func (*GetDnsZoneRecordSetRequest) ProtoMessage()
func (*GetDnsZoneRecordSetRequest) ProtoReflect ¶
func (x *GetDnsZoneRecordSetRequest) ProtoReflect() protoreflect.Message
func (*GetDnsZoneRecordSetRequest) Reset ¶
func (x *GetDnsZoneRecordSetRequest) Reset()
func (*GetDnsZoneRecordSetRequest) SetDnsZoneId ¶
func (m *GetDnsZoneRecordSetRequest) SetDnsZoneId(v string)
func (*GetDnsZoneRecordSetRequest) SetName ¶
func (m *GetDnsZoneRecordSetRequest) SetName(v string)
func (*GetDnsZoneRecordSetRequest) SetType ¶
func (m *GetDnsZoneRecordSetRequest) SetType(v string)
func (*GetDnsZoneRecordSetRequest) String ¶
func (x *GetDnsZoneRecordSetRequest) String() string
type GetDnsZoneRequest ¶
type GetDnsZoneRequest struct { // ID of the DNS zone to return. // // To get a DNS zone ID, make a [DnsZoneService.List] request. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // contains filtered or unexported fields }
func (*GetDnsZoneRequest) Descriptor
deprecated
func (*GetDnsZoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDnsZoneRequest.ProtoReflect.Descriptor instead.
func (*GetDnsZoneRequest) GetDnsZoneId ¶
func (x *GetDnsZoneRequest) GetDnsZoneId() string
func (*GetDnsZoneRequest) ProtoMessage ¶
func (*GetDnsZoneRequest) ProtoMessage()
func (*GetDnsZoneRequest) ProtoReflect ¶
func (x *GetDnsZoneRequest) ProtoReflect() protoreflect.Message
func (*GetDnsZoneRequest) Reset ¶
func (x *GetDnsZoneRequest) Reset()
func (*GetDnsZoneRequest) SetDnsZoneId ¶
func (m *GetDnsZoneRequest) SetDnsZoneId(v string)
func (*GetDnsZoneRequest) String ¶
func (x *GetDnsZoneRequest) String() string
type ListDnsZoneOperationsRequest ¶
type ListDnsZoneOperationsRequest struct { // ID of the DNS zone to list operations for. // // To get a DNS zone ID, make a [DnsZoneService.List] request. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_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 [ListDnsZoneOperationsResponse.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 // [ListDnsZoneOperationsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters DNS zones listed in the response. // // The expression must specify: // 1. The field name. Currently you can use filtering only on the [DnsZone.name] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. // Example of a filter: `name=my-dns-zone`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListDnsZoneOperationsRequest) Descriptor
deprecated
func (*ListDnsZoneOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDnsZoneOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListDnsZoneOperationsRequest) GetDnsZoneId ¶
func (x *ListDnsZoneOperationsRequest) GetDnsZoneId() string
func (*ListDnsZoneOperationsRequest) GetFilter ¶
func (x *ListDnsZoneOperationsRequest) GetFilter() string
func (*ListDnsZoneOperationsRequest) GetPageSize ¶
func (x *ListDnsZoneOperationsRequest) GetPageSize() int64
func (*ListDnsZoneOperationsRequest) GetPageToken ¶
func (x *ListDnsZoneOperationsRequest) GetPageToken() string
func (*ListDnsZoneOperationsRequest) ProtoMessage ¶
func (*ListDnsZoneOperationsRequest) ProtoMessage()
func (*ListDnsZoneOperationsRequest) ProtoReflect ¶
func (x *ListDnsZoneOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListDnsZoneOperationsRequest) Reset ¶
func (x *ListDnsZoneOperationsRequest) Reset()
func (*ListDnsZoneOperationsRequest) SetDnsZoneId ¶
func (m *ListDnsZoneOperationsRequest) SetDnsZoneId(v string)
func (*ListDnsZoneOperationsRequest) SetFilter ¶
func (m *ListDnsZoneOperationsRequest) SetFilter(v string)
func (*ListDnsZoneOperationsRequest) SetPageSize ¶
func (m *ListDnsZoneOperationsRequest) SetPageSize(v int64)
func (*ListDnsZoneOperationsRequest) SetPageToken ¶
func (m *ListDnsZoneOperationsRequest) SetPageToken(v string)
func (*ListDnsZoneOperationsRequest) String ¶
func (x *ListDnsZoneOperationsRequest) String() string
type ListDnsZoneOperationsResponse ¶
type ListDnsZoneOperationsResponse struct { // List of operations for the specified DNS zone. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListDnsZoneOperationsRequest.page_size], use `next_page_token` as the value // for the [ListDnsZoneOperationsRequest.page_token] parameter in the next list request. // // Each subsequent page 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 (*ListDnsZoneOperationsResponse) Descriptor
deprecated
func (*ListDnsZoneOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDnsZoneOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListDnsZoneOperationsResponse) GetNextPageToken ¶
func (x *ListDnsZoneOperationsResponse) GetNextPageToken() string
func (*ListDnsZoneOperationsResponse) GetOperations ¶
func (x *ListDnsZoneOperationsResponse) GetOperations() []*operation.Operation
func (*ListDnsZoneOperationsResponse) ProtoMessage ¶
func (*ListDnsZoneOperationsResponse) ProtoMessage()
func (*ListDnsZoneOperationsResponse) ProtoReflect ¶
func (x *ListDnsZoneOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListDnsZoneOperationsResponse) Reset ¶
func (x *ListDnsZoneOperationsResponse) Reset()
func (*ListDnsZoneOperationsResponse) SetNextPageToken ¶
func (m *ListDnsZoneOperationsResponse) SetNextPageToken(v string)
func (*ListDnsZoneOperationsResponse) SetOperations ¶
func (m *ListDnsZoneOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListDnsZoneOperationsResponse) String ¶
func (x *ListDnsZoneOperationsResponse) String() string
type ListDnsZoneRecordSetsRequest ¶
type ListDnsZoneRecordSetsRequest struct { // ID of the DNS zone to list record sets in. // // To get a DNS zone ID, make a [DnsZoneService.List] request. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_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 [ListDnsZoneRecordSetsResponse.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 // [ListDnsZoneRecordSetsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters record sets listed in the response. The expression consists of one or more conditions united by `AND` operator: `<condition1> [AND <condition2> [<...> AND <conditionN>]]`. // // Each condition has the form `<field> <operator> <value>`, where: // 1. `<field>` is the field name. Currently you can use filtering only on the [RecordSet.name] and [RecordSet.type] fields. // 2. `<operator>` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`. // 3. `<value>` represents a value. // 3.1. In case of single value condition (`=` or `!=`), the value is a string in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash). // 3.2. In case of a list of values condition (`IN` or `NOT IN`), the value is `(<string1>, <string2>, .., <stringN>)`, where `<string>` is a string in double (`"`) or single (`'`) quotes. // // Examples of a filter: `name="my-record-set"`, `type IN ("MX","A") AND name="works.on.my.machine."`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListDnsZoneRecordSetsRequest) Descriptor
deprecated
func (*ListDnsZoneRecordSetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDnsZoneRecordSetsRequest.ProtoReflect.Descriptor instead.
func (*ListDnsZoneRecordSetsRequest) GetDnsZoneId ¶
func (x *ListDnsZoneRecordSetsRequest) GetDnsZoneId() string
func (*ListDnsZoneRecordSetsRequest) GetFilter ¶
func (x *ListDnsZoneRecordSetsRequest) GetFilter() string
func (*ListDnsZoneRecordSetsRequest) GetPageSize ¶
func (x *ListDnsZoneRecordSetsRequest) GetPageSize() int64
func (*ListDnsZoneRecordSetsRequest) GetPageToken ¶
func (x *ListDnsZoneRecordSetsRequest) GetPageToken() string
func (*ListDnsZoneRecordSetsRequest) ProtoMessage ¶
func (*ListDnsZoneRecordSetsRequest) ProtoMessage()
func (*ListDnsZoneRecordSetsRequest) ProtoReflect ¶
func (x *ListDnsZoneRecordSetsRequest) ProtoReflect() protoreflect.Message
func (*ListDnsZoneRecordSetsRequest) Reset ¶
func (x *ListDnsZoneRecordSetsRequest) Reset()
func (*ListDnsZoneRecordSetsRequest) SetDnsZoneId ¶
func (m *ListDnsZoneRecordSetsRequest) SetDnsZoneId(v string)
func (*ListDnsZoneRecordSetsRequest) SetFilter ¶
func (m *ListDnsZoneRecordSetsRequest) SetFilter(v string)
func (*ListDnsZoneRecordSetsRequest) SetPageSize ¶
func (m *ListDnsZoneRecordSetsRequest) SetPageSize(v int64)
func (*ListDnsZoneRecordSetsRequest) SetPageToken ¶
func (m *ListDnsZoneRecordSetsRequest) SetPageToken(v string)
func (*ListDnsZoneRecordSetsRequest) String ¶
func (x *ListDnsZoneRecordSetsRequest) String() string
type ListDnsZoneRecordSetsResponse ¶
type ListDnsZoneRecordSetsResponse struct { // List of record sets in the specified DNS zone. RecordSets []*RecordSet `protobuf:"bytes,1,rep,name=record_sets,json=recordSets,proto3" json:"record_sets,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListDnsZoneRecordSetsRequest.page_size], use `next_page_token` as the value // for the [ListDnsZoneRecordSetsRequest.page_token] parameter in the next list request. // // Each subsequent page 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 (*ListDnsZoneRecordSetsResponse) Descriptor
deprecated
func (*ListDnsZoneRecordSetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDnsZoneRecordSetsResponse.ProtoReflect.Descriptor instead.
func (*ListDnsZoneRecordSetsResponse) GetNextPageToken ¶
func (x *ListDnsZoneRecordSetsResponse) GetNextPageToken() string
func (*ListDnsZoneRecordSetsResponse) GetRecordSets ¶
func (x *ListDnsZoneRecordSetsResponse) GetRecordSets() []*RecordSet
func (*ListDnsZoneRecordSetsResponse) ProtoMessage ¶
func (*ListDnsZoneRecordSetsResponse) ProtoMessage()
func (*ListDnsZoneRecordSetsResponse) ProtoReflect ¶
func (x *ListDnsZoneRecordSetsResponse) ProtoReflect() protoreflect.Message
func (*ListDnsZoneRecordSetsResponse) Reset ¶
func (x *ListDnsZoneRecordSetsResponse) Reset()
func (*ListDnsZoneRecordSetsResponse) SetNextPageToken ¶
func (m *ListDnsZoneRecordSetsResponse) SetNextPageToken(v string)
func (*ListDnsZoneRecordSetsResponse) SetRecordSets ¶
func (m *ListDnsZoneRecordSetsResponse) SetRecordSets(v []*RecordSet)
func (*ListDnsZoneRecordSetsResponse) String ¶
func (x *ListDnsZoneRecordSetsResponse) String() string
type ListDnsZonesRequest ¶
type ListDnsZonesRequest struct { // ID of the folder to list DNS zones in. // // To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than `page_size`, the service returns a [ListDnsZonesResponse.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 // [ListDnsZonesResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters DNS zones listed in the response. // // The expression must specify: // 1. The field name. Currently you can use filtering only on the [DnsZone.name] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. // Example of a filter: `name=my-dns-zone`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListDnsZonesRequest) Descriptor
deprecated
func (*ListDnsZonesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDnsZonesRequest.ProtoReflect.Descriptor instead.
func (*ListDnsZonesRequest) GetFilter ¶
func (x *ListDnsZonesRequest) GetFilter() string
func (*ListDnsZonesRequest) GetFolderId ¶
func (x *ListDnsZonesRequest) GetFolderId() string
func (*ListDnsZonesRequest) GetPageSize ¶
func (x *ListDnsZonesRequest) GetPageSize() int64
func (*ListDnsZonesRequest) GetPageToken ¶
func (x *ListDnsZonesRequest) GetPageToken() string
func (*ListDnsZonesRequest) ProtoMessage ¶
func (*ListDnsZonesRequest) ProtoMessage()
func (*ListDnsZonesRequest) ProtoReflect ¶
func (x *ListDnsZonesRequest) ProtoReflect() protoreflect.Message
func (*ListDnsZonesRequest) Reset ¶
func (x *ListDnsZonesRequest) Reset()
func (*ListDnsZonesRequest) SetFilter ¶
func (m *ListDnsZonesRequest) SetFilter(v string)
func (*ListDnsZonesRequest) SetFolderId ¶
func (m *ListDnsZonesRequest) SetFolderId(v string)
func (*ListDnsZonesRequest) SetPageSize ¶
func (m *ListDnsZonesRequest) SetPageSize(v int64)
func (*ListDnsZonesRequest) SetPageToken ¶
func (m *ListDnsZonesRequest) SetPageToken(v string)
func (*ListDnsZonesRequest) String ¶
func (x *ListDnsZonesRequest) String() string
type ListDnsZonesResponse ¶
type ListDnsZonesResponse struct { // List of DNS zones in the specified folder. DnsZones []*DnsZone `protobuf:"bytes,1,rep,name=dns_zones,json=dnsZones,proto3" json:"dns_zones,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListDnsZonesRequest.page_size], use `next_page_token` as the value // for the [ListDnsZonesRequest.page_token] parameter in the next list request. // // Each subsequent page 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 (*ListDnsZonesResponse) Descriptor
deprecated
func (*ListDnsZonesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDnsZonesResponse.ProtoReflect.Descriptor instead.
func (*ListDnsZonesResponse) GetDnsZones ¶
func (x *ListDnsZonesResponse) GetDnsZones() []*DnsZone
func (*ListDnsZonesResponse) GetNextPageToken ¶
func (x *ListDnsZonesResponse) GetNextPageToken() string
func (*ListDnsZonesResponse) ProtoMessage ¶
func (*ListDnsZonesResponse) ProtoMessage()
func (*ListDnsZonesResponse) ProtoReflect ¶
func (x *ListDnsZonesResponse) ProtoReflect() protoreflect.Message
func (*ListDnsZonesResponse) Reset ¶
func (x *ListDnsZonesResponse) Reset()
func (*ListDnsZonesResponse) SetDnsZones ¶
func (m *ListDnsZonesResponse) SetDnsZones(v []*DnsZone)
func (*ListDnsZonesResponse) SetNextPageToken ¶
func (m *ListDnsZonesResponse) SetNextPageToken(v string)
func (*ListDnsZonesResponse) String ¶
func (x *ListDnsZonesResponse) String() string
type PrivateVisibility ¶
type PrivateVisibility struct { // Network IDs. NetworkIds []string `protobuf:"bytes,1,rep,name=network_ids,json=networkIds,proto3" json:"network_ids,omitempty"` // contains filtered or unexported fields }
Configuration for privately visible zones.
func (*PrivateVisibility) Descriptor
deprecated
func (*PrivateVisibility) Descriptor() ([]byte, []int)
Deprecated: Use PrivateVisibility.ProtoReflect.Descriptor instead.
func (*PrivateVisibility) GetNetworkIds ¶
func (x *PrivateVisibility) GetNetworkIds() []string
func (*PrivateVisibility) ProtoMessage ¶
func (*PrivateVisibility) ProtoMessage()
func (*PrivateVisibility) ProtoReflect ¶
func (x *PrivateVisibility) ProtoReflect() protoreflect.Message
func (*PrivateVisibility) Reset ¶
func (x *PrivateVisibility) Reset()
func (*PrivateVisibility) SetNetworkIds ¶
func (m *PrivateVisibility) SetNetworkIds(v []string)
func (*PrivateVisibility) String ¶
func (x *PrivateVisibility) String() string
type PublicVisibility ¶
type PublicVisibility struct {
// contains filtered or unexported fields
}
Configuration for publicly visible zones.
func (*PublicVisibility) Descriptor
deprecated
func (*PublicVisibility) Descriptor() ([]byte, []int)
Deprecated: Use PublicVisibility.ProtoReflect.Descriptor instead.
func (*PublicVisibility) ProtoMessage ¶
func (*PublicVisibility) ProtoMessage()
func (*PublicVisibility) ProtoReflect ¶
func (x *PublicVisibility) ProtoReflect() protoreflect.Message
func (*PublicVisibility) Reset ¶
func (x *PublicVisibility) Reset()
func (*PublicVisibility) String ¶
func (x *PublicVisibility) String() string
type RecordSet ¶
type RecordSet struct { // Domain name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Record type. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Time to live in seconds. Ttl int64 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // Data of the record set. Data []string `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
A record set. For details about the concept, see [Resource record](/docs/dns/concepts/resource-record).
func (*RecordSet) Descriptor
deprecated
func (*RecordSet) ProtoMessage ¶
func (*RecordSet) ProtoMessage()
func (*RecordSet) ProtoReflect ¶
func (x *RecordSet) ProtoReflect() protoreflect.Message
type RecordSetDiff ¶
type RecordSetDiff struct { // List of record sets that were added Additions []*RecordSet `protobuf:"bytes,1,rep,name=additions,proto3" json:"additions,omitempty"` // List of record sets that were deleted Deletions []*RecordSet `protobuf:"bytes,2,rep,name=deletions,proto3" json:"deletions,omitempty"` // contains filtered or unexported fields }
func (*RecordSetDiff) Descriptor
deprecated
func (*RecordSetDiff) Descriptor() ([]byte, []int)
Deprecated: Use RecordSetDiff.ProtoReflect.Descriptor instead.
func (*RecordSetDiff) GetAdditions ¶
func (x *RecordSetDiff) GetAdditions() []*RecordSet
func (*RecordSetDiff) GetDeletions ¶
func (x *RecordSetDiff) GetDeletions() []*RecordSet
func (*RecordSetDiff) ProtoMessage ¶
func (*RecordSetDiff) ProtoMessage()
func (*RecordSetDiff) ProtoReflect ¶
func (x *RecordSetDiff) ProtoReflect() protoreflect.Message
func (*RecordSetDiff) Reset ¶
func (x *RecordSetDiff) Reset()
func (*RecordSetDiff) SetAdditions ¶
func (m *RecordSetDiff) SetAdditions(v []*RecordSet)
func (*RecordSetDiff) SetDeletions ¶
func (m *RecordSetDiff) SetDeletions(v []*RecordSet)
func (*RecordSetDiff) String ¶
func (x *RecordSetDiff) String() string
type UnimplementedDnsZoneServiceServer ¶
type UnimplementedDnsZoneServiceServer struct{}
UnimplementedDnsZoneServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDnsZoneServiceServer) Create ¶
func (UnimplementedDnsZoneServiceServer) Create(context.Context, *CreateDnsZoneRequest) (*operation.Operation, error)
func (UnimplementedDnsZoneServiceServer) Delete ¶
func (UnimplementedDnsZoneServiceServer) Delete(context.Context, *DeleteDnsZoneRequest) (*operation.Operation, error)
func (UnimplementedDnsZoneServiceServer) Get ¶
func (UnimplementedDnsZoneServiceServer) Get(context.Context, *GetDnsZoneRequest) (*DnsZone, error)
func (UnimplementedDnsZoneServiceServer) GetRecordSet ¶
func (UnimplementedDnsZoneServiceServer) GetRecordSet(context.Context, *GetDnsZoneRecordSetRequest) (*RecordSet, error)
func (UnimplementedDnsZoneServiceServer) List ¶
func (UnimplementedDnsZoneServiceServer) List(context.Context, *ListDnsZonesRequest) (*ListDnsZonesResponse, error)
func (UnimplementedDnsZoneServiceServer) ListAccessBindings ¶
func (UnimplementedDnsZoneServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedDnsZoneServiceServer) ListOperations ¶
func (UnimplementedDnsZoneServiceServer) ListOperations(context.Context, *ListDnsZoneOperationsRequest) (*ListDnsZoneOperationsResponse, error)
func (UnimplementedDnsZoneServiceServer) ListRecordSets ¶
func (UnimplementedDnsZoneServiceServer) ListRecordSets(context.Context, *ListDnsZoneRecordSetsRequest) (*ListDnsZoneRecordSetsResponse, error)
func (UnimplementedDnsZoneServiceServer) SetAccessBindings ¶
func (UnimplementedDnsZoneServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedDnsZoneServiceServer) Update ¶
func (UnimplementedDnsZoneServiceServer) Update(context.Context, *UpdateDnsZoneRequest) (*operation.Operation, error)
func (UnimplementedDnsZoneServiceServer) UpdateAccessBindings ¶
func (UnimplementedDnsZoneServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedDnsZoneServiceServer) UpdatePrivateNetworks ¶
func (UnimplementedDnsZoneServiceServer) UpdatePrivateNetworks(context.Context, *UpdateDnsZonePrivateNetworksRequest) (*operation.Operation, error)
func (UnimplementedDnsZoneServiceServer) UpdateRecordSets ¶
func (UnimplementedDnsZoneServiceServer) UpdateRecordSets(context.Context, *UpdateRecordSetsRequest) (*operation.Operation, error)
func (UnimplementedDnsZoneServiceServer) UpsertRecordSets ¶
func (UnimplementedDnsZoneServiceServer) UpsertRecordSets(context.Context, *UpsertRecordSetsRequest) (*operation.Operation, error)
type UnsafeDnsZoneServiceServer ¶
type UnsafeDnsZoneServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDnsZoneServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DnsZoneServiceServer will result in compilation errors.
type UpdateDnsZoneMetadata ¶
type UpdateDnsZoneMetadata struct { // ID of the DNS zone that is being updated. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateDnsZoneMetadata) Descriptor
deprecated
func (*UpdateDnsZoneMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDnsZoneMetadata.ProtoReflect.Descriptor instead.
func (*UpdateDnsZoneMetadata) GetDnsZoneId ¶
func (x *UpdateDnsZoneMetadata) GetDnsZoneId() string
func (*UpdateDnsZoneMetadata) ProtoMessage ¶
func (*UpdateDnsZoneMetadata) ProtoMessage()
func (*UpdateDnsZoneMetadata) ProtoReflect ¶
func (x *UpdateDnsZoneMetadata) ProtoReflect() protoreflect.Message
func (*UpdateDnsZoneMetadata) Reset ¶
func (x *UpdateDnsZoneMetadata) Reset()
func (*UpdateDnsZoneMetadata) SetDnsZoneId ¶
func (m *UpdateDnsZoneMetadata) SetDnsZoneId(v string)
func (*UpdateDnsZoneMetadata) String ¶
func (x *UpdateDnsZoneMetadata) String() string
type UpdateDnsZonePrivateNetworksMetadata ¶
type UpdateDnsZonePrivateNetworksMetadata struct { // ID of the DNS zone which private networks was updated DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateDnsZonePrivateNetworksMetadata) Descriptor
deprecated
func (*UpdateDnsZonePrivateNetworksMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDnsZonePrivateNetworksMetadata.ProtoReflect.Descriptor instead.
func (*UpdateDnsZonePrivateNetworksMetadata) GetDnsZoneId ¶
func (x *UpdateDnsZonePrivateNetworksMetadata) GetDnsZoneId() string
func (*UpdateDnsZonePrivateNetworksMetadata) ProtoMessage ¶
func (*UpdateDnsZonePrivateNetworksMetadata) ProtoMessage()
func (*UpdateDnsZonePrivateNetworksMetadata) ProtoReflect ¶
func (x *UpdateDnsZonePrivateNetworksMetadata) ProtoReflect() protoreflect.Message
func (*UpdateDnsZonePrivateNetworksMetadata) Reset ¶
func (x *UpdateDnsZonePrivateNetworksMetadata) Reset()
func (*UpdateDnsZonePrivateNetworksMetadata) SetDnsZoneId ¶
func (m *UpdateDnsZonePrivateNetworksMetadata) SetDnsZoneId(v string)
func (*UpdateDnsZonePrivateNetworksMetadata) String ¶
func (x *UpdateDnsZonePrivateNetworksMetadata) String() string
type UpdateDnsZonePrivateNetworksRequest ¶
type UpdateDnsZonePrivateNetworksRequest struct { // ID of the DNS zone which private networks will be updated DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // Network IDs to remove PrivateNetworkIdAdditions []string `` /* 140-byte string literal not displayed */ // Network IDs to add PrivateNetworkIdDeletions []string `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateDnsZonePrivateNetworksRequest) Descriptor
deprecated
func (*UpdateDnsZonePrivateNetworksRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDnsZonePrivateNetworksRequest.ProtoReflect.Descriptor instead.
func (*UpdateDnsZonePrivateNetworksRequest) GetDnsZoneId ¶
func (x *UpdateDnsZonePrivateNetworksRequest) GetDnsZoneId() string
func (*UpdateDnsZonePrivateNetworksRequest) GetPrivateNetworkIdAdditions ¶
func (x *UpdateDnsZonePrivateNetworksRequest) GetPrivateNetworkIdAdditions() []string
func (*UpdateDnsZonePrivateNetworksRequest) GetPrivateNetworkIdDeletions ¶
func (x *UpdateDnsZonePrivateNetworksRequest) GetPrivateNetworkIdDeletions() []string
func (*UpdateDnsZonePrivateNetworksRequest) ProtoMessage ¶
func (*UpdateDnsZonePrivateNetworksRequest) ProtoMessage()
func (*UpdateDnsZonePrivateNetworksRequest) ProtoReflect ¶
func (x *UpdateDnsZonePrivateNetworksRequest) ProtoReflect() protoreflect.Message
func (*UpdateDnsZonePrivateNetworksRequest) Reset ¶
func (x *UpdateDnsZonePrivateNetworksRequest) Reset()
func (*UpdateDnsZonePrivateNetworksRequest) SetDnsZoneId ¶
func (m *UpdateDnsZonePrivateNetworksRequest) SetDnsZoneId(v string)
func (*UpdateDnsZonePrivateNetworksRequest) SetPrivateNetworkIdAdditions ¶
func (m *UpdateDnsZonePrivateNetworksRequest) SetPrivateNetworkIdAdditions(v []string)
func (*UpdateDnsZonePrivateNetworksRequest) SetPrivateNetworkIdDeletions ¶
func (m *UpdateDnsZonePrivateNetworksRequest) SetPrivateNetworkIdDeletions(v []string)
func (*UpdateDnsZonePrivateNetworksRequest) String ¶
func (x *UpdateDnsZonePrivateNetworksRequest) String() string
type UpdateDnsZoneRequest ¶
type UpdateDnsZoneRequest struct { // ID of the DNS zone to update. // // To get the DNS zone ID, make a [DnsZoneService.List] request. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // Field mask specifying which fields of the DNS zone resource are going to be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // New name for the DNS zone. // The name must be unique within the folder. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // New description of the DNS zone. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // DNS zone labels as `key:value` pairs. // // Existing set of labels is completely replaced by the provided set, so if you just want // to add or remove a label: // 1. Get the current set of labels with a [DnsZoneService.Get] request. // 2. Add or remove a label in this set. // 3. Send the new set in this field. Labels map[string]string `` /* 153-byte string literal not displayed */ // Change network IDs for private visibility. PrivateVisibility *PrivateVisibility `protobuf:"bytes,6,opt,name=private_visibility,json=privateVisibility,proto3" json:"private_visibility,omitempty"` // Public visibility configuration. PublicVisibility *PublicVisibility `protobuf:"bytes,7,opt,name=public_visibility,json=publicVisibility,proto3" json:"public_visibility,omitempty"` // Prevents accidental zone removal. DeletionProtection bool `protobuf:"varint,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // contains filtered or unexported fields }
func (*UpdateDnsZoneRequest) Descriptor
deprecated
func (*UpdateDnsZoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDnsZoneRequest.ProtoReflect.Descriptor instead.
func (*UpdateDnsZoneRequest) GetDeletionProtection ¶
func (x *UpdateDnsZoneRequest) GetDeletionProtection() bool
func (*UpdateDnsZoneRequest) GetDescription ¶
func (x *UpdateDnsZoneRequest) GetDescription() string
func (*UpdateDnsZoneRequest) GetDnsZoneId ¶
func (x *UpdateDnsZoneRequest) GetDnsZoneId() string
func (*UpdateDnsZoneRequest) GetLabels ¶
func (x *UpdateDnsZoneRequest) GetLabels() map[string]string
func (*UpdateDnsZoneRequest) GetName ¶
func (x *UpdateDnsZoneRequest) GetName() string
func (*UpdateDnsZoneRequest) GetPrivateVisibility ¶
func (x *UpdateDnsZoneRequest) GetPrivateVisibility() *PrivateVisibility
func (*UpdateDnsZoneRequest) GetPublicVisibility ¶
func (x *UpdateDnsZoneRequest) GetPublicVisibility() *PublicVisibility
func (*UpdateDnsZoneRequest) GetUpdateMask ¶
func (x *UpdateDnsZoneRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDnsZoneRequest) ProtoMessage ¶
func (*UpdateDnsZoneRequest) ProtoMessage()
func (*UpdateDnsZoneRequest) ProtoReflect ¶
func (x *UpdateDnsZoneRequest) ProtoReflect() protoreflect.Message
func (*UpdateDnsZoneRequest) Reset ¶
func (x *UpdateDnsZoneRequest) Reset()
func (*UpdateDnsZoneRequest) SetDeletionProtection ¶
func (m *UpdateDnsZoneRequest) SetDeletionProtection(v bool)
func (*UpdateDnsZoneRequest) SetDescription ¶
func (m *UpdateDnsZoneRequest) SetDescription(v string)
func (*UpdateDnsZoneRequest) SetDnsZoneId ¶
func (m *UpdateDnsZoneRequest) SetDnsZoneId(v string)
func (*UpdateDnsZoneRequest) SetLabels ¶
func (m *UpdateDnsZoneRequest) SetLabels(v map[string]string)
func (*UpdateDnsZoneRequest) SetName ¶
func (m *UpdateDnsZoneRequest) SetName(v string)
func (*UpdateDnsZoneRequest) SetPrivateVisibility ¶
func (m *UpdateDnsZoneRequest) SetPrivateVisibility(v *PrivateVisibility)
func (*UpdateDnsZoneRequest) SetPublicVisibility ¶
func (m *UpdateDnsZoneRequest) SetPublicVisibility(v *PublicVisibility)
func (*UpdateDnsZoneRequest) SetUpdateMask ¶
func (m *UpdateDnsZoneRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateDnsZoneRequest) String ¶
func (x *UpdateDnsZoneRequest) String() string
type UpdateRecordSetsMetadata ¶
type UpdateRecordSetsMetadata struct {
// contains filtered or unexported fields
}
func (*UpdateRecordSetsMetadata) Descriptor
deprecated
func (*UpdateRecordSetsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRecordSetsMetadata.ProtoReflect.Descriptor instead.
func (*UpdateRecordSetsMetadata) ProtoMessage ¶
func (*UpdateRecordSetsMetadata) ProtoMessage()
func (*UpdateRecordSetsMetadata) ProtoReflect ¶
func (x *UpdateRecordSetsMetadata) ProtoReflect() protoreflect.Message
func (*UpdateRecordSetsMetadata) Reset ¶
func (x *UpdateRecordSetsMetadata) Reset()
func (*UpdateRecordSetsMetadata) String ¶
func (x *UpdateRecordSetsMetadata) String() string
type UpdateRecordSetsRequest ¶
type UpdateRecordSetsRequest struct { // ID of the DNS zone to update record sets in. // // To get a DNS zone ID, make a [DnsZoneService.List] request. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // List of record sets to delete. Deletions []*RecordSet `protobuf:"bytes,2,rep,name=deletions,proto3" json:"deletions,omitempty"` // List of record sets to add. Additions []*RecordSet `protobuf:"bytes,3,rep,name=additions,proto3" json:"additions,omitempty"` // contains filtered or unexported fields }
func (*UpdateRecordSetsRequest) Descriptor
deprecated
func (*UpdateRecordSetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRecordSetsRequest.ProtoReflect.Descriptor instead.
func (*UpdateRecordSetsRequest) GetAdditions ¶
func (x *UpdateRecordSetsRequest) GetAdditions() []*RecordSet
func (*UpdateRecordSetsRequest) GetDeletions ¶
func (x *UpdateRecordSetsRequest) GetDeletions() []*RecordSet
func (*UpdateRecordSetsRequest) GetDnsZoneId ¶
func (x *UpdateRecordSetsRequest) GetDnsZoneId() string
func (*UpdateRecordSetsRequest) ProtoMessage ¶
func (*UpdateRecordSetsRequest) ProtoMessage()
func (*UpdateRecordSetsRequest) ProtoReflect ¶
func (x *UpdateRecordSetsRequest) ProtoReflect() protoreflect.Message
func (*UpdateRecordSetsRequest) Reset ¶
func (x *UpdateRecordSetsRequest) Reset()
func (*UpdateRecordSetsRequest) SetAdditions ¶
func (m *UpdateRecordSetsRequest) SetAdditions(v []*RecordSet)
func (*UpdateRecordSetsRequest) SetDeletions ¶
func (m *UpdateRecordSetsRequest) SetDeletions(v []*RecordSet)
func (*UpdateRecordSetsRequest) SetDnsZoneId ¶
func (m *UpdateRecordSetsRequest) SetDnsZoneId(v string)
func (*UpdateRecordSetsRequest) String ¶
func (x *UpdateRecordSetsRequest) String() string
type UpsertRecordSetsMetadata ¶
type UpsertRecordSetsMetadata struct {
// contains filtered or unexported fields
}
func (*UpsertRecordSetsMetadata) Descriptor
deprecated
func (*UpsertRecordSetsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpsertRecordSetsMetadata.ProtoReflect.Descriptor instead.
func (*UpsertRecordSetsMetadata) ProtoMessage ¶
func (*UpsertRecordSetsMetadata) ProtoMessage()
func (*UpsertRecordSetsMetadata) ProtoReflect ¶
func (x *UpsertRecordSetsMetadata) ProtoReflect() protoreflect.Message
func (*UpsertRecordSetsMetadata) Reset ¶
func (x *UpsertRecordSetsMetadata) Reset()
func (*UpsertRecordSetsMetadata) String ¶
func (x *UpsertRecordSetsMetadata) String() string
type UpsertRecordSetsRequest ¶
type UpsertRecordSetsRequest struct { // ID of the DNS zone to upsert record sets to. // // To get a DNS zone ID, make a [DnsZoneService.List] request. DnsZoneId string `protobuf:"bytes,1,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // Delete only specified records from corresponding record sets. Deletions []*RecordSet `protobuf:"bytes,2,rep,name=deletions,proto3" json:"deletions,omitempty"` // Entirely replace specified record sets. Replacements []*RecordSet `protobuf:"bytes,3,rep,name=replacements,proto3" json:"replacements,omitempty"` // Replace specified records or add new ones if no such record sets exists. Merges []*RecordSet `protobuf:"bytes,4,rep,name=merges,proto3" json:"merges,omitempty"` // contains filtered or unexported fields }
func (*UpsertRecordSetsRequest) Descriptor
deprecated
func (*UpsertRecordSetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertRecordSetsRequest.ProtoReflect.Descriptor instead.
func (*UpsertRecordSetsRequest) GetDeletions ¶
func (x *UpsertRecordSetsRequest) GetDeletions() []*RecordSet
func (*UpsertRecordSetsRequest) GetDnsZoneId ¶
func (x *UpsertRecordSetsRequest) GetDnsZoneId() string
func (*UpsertRecordSetsRequest) GetMerges ¶
func (x *UpsertRecordSetsRequest) GetMerges() []*RecordSet
func (*UpsertRecordSetsRequest) GetReplacements ¶
func (x *UpsertRecordSetsRequest) GetReplacements() []*RecordSet
func (*UpsertRecordSetsRequest) ProtoMessage ¶
func (*UpsertRecordSetsRequest) ProtoMessage()
func (*UpsertRecordSetsRequest) ProtoReflect ¶
func (x *UpsertRecordSetsRequest) ProtoReflect() protoreflect.Message
func (*UpsertRecordSetsRequest) Reset ¶
func (x *UpsertRecordSetsRequest) Reset()
func (*UpsertRecordSetsRequest) SetDeletions ¶
func (m *UpsertRecordSetsRequest) SetDeletions(v []*RecordSet)
func (*UpsertRecordSetsRequest) SetDnsZoneId ¶
func (m *UpsertRecordSetsRequest) SetDnsZoneId(v string)
func (*UpsertRecordSetsRequest) SetMerges ¶
func (m *UpsertRecordSetsRequest) SetMerges(v []*RecordSet)
func (*UpsertRecordSetsRequest) SetReplacements ¶
func (m *UpsertRecordSetsRequest) SetReplacements(v []*RecordSet)
func (*UpsertRecordSetsRequest) String ¶
func (x *UpsertRecordSetsRequest) String() string