Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Dns::ResourceRecord.
DNS Resource Records. See RFC1035, section 4.1.3.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#binary_data
def binary_data() -> ::String
Returns
- (::String) — The raw bytes of any non-UTF8 strings that might be included as part of a DNS response.
#binary_data=
def binary_data=(value) -> ::String
Parameter
- value (::String) — The raw bytes of any non-UTF8 strings that might be included as part of a DNS response.
Returns
- (::String) — The raw bytes of any non-UTF8 strings that might be included as part of a DNS response.
#class
def class() -> ::Integer
Returns
- (::Integer) — The code specifying the class of the resource record.
#class=
def class=(value) -> ::Integer
Parameter
- value (::Integer) — The code specifying the class of the resource record.
Returns
- (::Integer) — The code specifying the class of the resource record.
#data
def data() -> ::String
Returns
- (::String) — The payload or response to the DNS question for all responses encoded in UTF-8 format
#data=
def data=(value) -> ::String
Parameter
- value (::String) — The payload or response to the DNS question for all responses encoded in UTF-8 format
Returns
- (::String) — The payload or response to the DNS question for all responses encoded in UTF-8 format
#name
def name() -> ::String
Returns
- (::String) — The name of the owner of the resource record.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the owner of the resource record.
Returns
- (::String) — The name of the owner of the resource record.
#ttl
def ttl() -> ::Integer
Returns
- (::Integer) — The time interval for which the resource record can be cached before the source of the information should again be queried.
#ttl=
def ttl=(value) -> ::Integer
Parameter
- value (::Integer) — The time interval for which the resource record can be cached before the source of the information should again be queried.
Returns
- (::Integer) — The time interval for which the resource record can be cached before the source of the information should again be queried.
#type
def type() -> ::Integer
Returns
- (::Integer) — The code specifying the type of the resource record.
#type=
def type=(value) -> ::Integer
Parameter
- value (::Integer) — The code specifying the type of the resource record.
Returns
- (::Integer) — The code specifying the type of the resource record.