Class: Google::Cloud::AppEngine::V1::ResourceRecord

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/appengine/v1/domain_mapping.rb

Overview

A DNS resource record.

Defined Under Namespace

Modules: RecordType

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.

Returns:

  • (::String)

    Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.



105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# File 'proto_docs/google/appengine/v1/domain_mapping.rb', line 105

class ResourceRecord
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A resource record type.
  module RecordType
    # An unknown resource record.
    RECORD_TYPE_UNSPECIFIED = 0

    # An A resource record. Data is an IPv4 address.
    A = 1

    # An AAAA resource record. Data is an IPv6 address.
    AAAA = 2

    # A CNAME resource record. Data is a domain name to be aliased.
    CNAME = 3
  end
end

#rrdata::String

Returns Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).

Returns:

  • (::String)

    Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).



105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# File 'proto_docs/google/appengine/v1/domain_mapping.rb', line 105

class ResourceRecord
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A resource record type.
  module RecordType
    # An unknown resource record.
    RECORD_TYPE_UNSPECIFIED = 0

    # An A resource record. Data is an IPv4 address.
    A = 1

    # An AAAA resource record. Data is an IPv6 address.
    AAAA = 2

    # A CNAME resource record. Data is a domain name to be aliased.
    CNAME = 3
  end
end

#type::Google::Cloud::AppEngine::V1::ResourceRecord::RecordType

Returns Resource record type. Example: AAAA.

Returns:



105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# File 'proto_docs/google/appengine/v1/domain_mapping.rb', line 105

class ResourceRecord
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A resource record type.
  module RecordType
    # An unknown resource record.
    RECORD_TYPE_UNSPECIFIED = 0

    # An A resource record. Data is an IPv4 address.
    A = 1

    # An AAAA resource record. Data is an IPv6 address.
    AAAA = 2

    # A CNAME resource record. Data is a domain name to be aliased.
    CNAME = 3
  end
end