dns

package
v0.0.0-...-204702d Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 15 Imported by: 18

Documentation

Index

Constants

View Source
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

View Source
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)

View Source
var File_yandex_cloud_dns_v1_dns_zone_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use DnsZone.ProtoReflect.Descriptor instead.

func (*DnsZone) GetCreatedAt

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

func (*DnsZone) GetDeletionProtection

func (x *DnsZone) GetDeletionProtection() bool

func (*DnsZone) GetDescription

func (x *DnsZone) GetDescription() string

func (*DnsZone) GetFolderId

func (x *DnsZone) GetFolderId() string

func (*DnsZone) GetId

func (x *DnsZone) GetId() string

func (*DnsZone) GetLabels

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

func (*DnsZone) GetName

func (x *DnsZone) GetName() string

func (*DnsZone) GetPrivateVisibility

func (x *DnsZone) GetPrivateVisibility() *PrivateVisibility

func (*DnsZone) GetPublicVisibility

func (x *DnsZone) GetPublicVisibility() *PublicVisibility

func (*DnsZone) GetZone

func (x *DnsZone) GetZone() string

func (*DnsZone) ProtoMessage

func (*DnsZone) ProtoMessage()

func (*DnsZone) ProtoReflect

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

func (*DnsZone) Reset

func (x *DnsZone) Reset()

func (*DnsZone) SetCreatedAt

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

func (*DnsZone) SetDeletionProtection

func (m *DnsZone) SetDeletionProtection(v bool)

func (*DnsZone) SetDescription

func (m *DnsZone) SetDescription(v string)

func (*DnsZone) SetFolderId

func (m *DnsZone) SetFolderId(v string)

func (*DnsZone) SetId

func (m *DnsZone) SetId(v string)

func (*DnsZone) SetLabels

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

func (*DnsZone) SetName

func (m *DnsZone) SetName(v string)

func (*DnsZone) SetPrivateVisibility

func (m *DnsZone) SetPrivateVisibility(v *PrivateVisibility)

func (*DnsZone) SetPublicVisibility

func (m *DnsZone) SetPublicVisibility(v *PublicVisibility)

func (*DnsZone) SetZone

func (m *DnsZone) SetZone(v string)

func (*DnsZone) String

func (x *DnsZone) String() string

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.

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 (*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 (*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

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 (*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

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 (*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

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 (*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

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) Descriptor() ([]byte, []int)

Deprecated: Use RecordSet.ProtoReflect.Descriptor instead.

func (*RecordSet) GetData

func (x *RecordSet) GetData() []string

func (*RecordSet) GetName

func (x *RecordSet) GetName() string

func (*RecordSet) GetTtl

func (x *RecordSet) GetTtl() int64

func (*RecordSet) GetType

func (x *RecordSet) GetType() string

func (*RecordSet) ProtoMessage

func (*RecordSet) ProtoMessage()

func (*RecordSet) ProtoReflect

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

func (*RecordSet) Reset

func (x *RecordSet) Reset()

func (*RecordSet) SetData

func (m *RecordSet) SetData(v []string)

func (*RecordSet) SetName

func (m *RecordSet) SetName(v string)

func (*RecordSet) SetTtl

func (m *RecordSet) SetTtl(v int64)

func (*RecordSet) SetType

func (m *RecordSet) SetType(v string)

func (*RecordSet) String

func (x *RecordSet) String() string

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

func (UnimplementedDnsZoneServiceServer) Get

func (UnimplementedDnsZoneServiceServer) GetRecordSet

func (UnimplementedDnsZoneServiceServer) List

func (UnimplementedDnsZoneServiceServer) SetAccessBindings

func (UnimplementedDnsZoneServiceServer) Update

func (UnimplementedDnsZoneServiceServer) UpdateAccessBindings

func (UnimplementedDnsZoneServiceServer) UpdatePrivateNetworks

func (UnimplementedDnsZoneServiceServer) UpdateRecordSets

func (UnimplementedDnsZoneServiceServer) UpsertRecordSets

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 (*UpdateDnsZonePrivateNetworksMetadata) Reset

func (*UpdateDnsZonePrivateNetworksMetadata) SetDnsZoneId

func (m *UpdateDnsZonePrivateNetworksMetadata) SetDnsZoneId(v string)

func (*UpdateDnsZonePrivateNetworksMetadata) 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 (*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

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

Jump to

Keyboard shortcuts

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