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

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getType

Resource record type. Example: AAAA.

Returns
Type Description
int

setType

Resource record type. Example: AAAA.

Parameter
Name Description
var int
Returns
Type Description
$this