Google Cloud Appengine Admin V1 Client - Class ResourceRecord (1.1.1)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class ResourceRecord.

A DNS resource record.

Generated from protobuf message google.appengine.v1.ResourceRecord

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ rrdata string

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

↳ type int

Resource record type. Example: AAAA.

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRrdata

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

Returns
TypeDescription
string

setRrdata

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Resource record type. Example: AAAA.

Returns
TypeDescription
int

setType

Resource record type. Example: AAAA.

Parameter
NameDescription
var int
Returns
TypeDescription
$this