Class protos.google.cloud.domains.v1beta1.Registration (1.0.8)

Represents a Registration.

Package

@google-cloud/domains!

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.domains.v1beta1.IRegistration);

Constructs a new Registration.

Parameter
NameDescription
properties IRegistration

Properties to set

Properties

contactSettings

public contactSettings?: (google.cloud.domains.v1beta1.IContactSettings|null);

Registration contactSettings.

Property Value
TypeDescription
(google.cloud.domains.v1beta1.IContactSettings|null)

createTime

public createTime?: (google.protobuf.ITimestamp|null);

Registration createTime.

Property Value
TypeDescription
(google.protobuf.ITimestamp|null)

dnsSettings

public dnsSettings?: (google.cloud.domains.v1beta1.IDnsSettings|null);

Registration dnsSettings.

Property Value
TypeDescription
(google.cloud.domains.v1beta1.IDnsSettings|null)

domainName

public domainName: string;

Registration domainName.

Property Value
TypeDescription
string

expireTime

public expireTime?: (google.protobuf.ITimestamp|null);

Registration expireTime.

Property Value
TypeDescription
(google.protobuf.ITimestamp|null)

issues

public issues: google.cloud.domains.v1beta1.Registration.Issue[];

Registration issues.

Property Value
TypeDescription
google.cloud.domains.v1beta1.Registration.Issue[]

labels

public labels: { [k: string]: string };

Registration labels.

Property Value
TypeDescription
{ [k: string]: string }

managementSettings

public managementSettings?: (google.cloud.domains.v1beta1.IManagementSettings|null);

Registration managementSettings.

Property Value
TypeDescription
(google.cloud.domains.v1beta1.IManagementSettings|null)

name

public name: string;

Registration name.

Property Value
TypeDescription
string

pendingContactSettings

public pendingContactSettings?: (google.cloud.domains.v1beta1.IContactSettings|null);

Registration pendingContactSettings.

Property Value
TypeDescription
(google.cloud.domains.v1beta1.IContactSettings|null)

state

public state: (google.cloud.domains.v1beta1.Registration.State|keyof typeof google.cloud.domains.v1beta1.Registration.State);

Registration state.

Property Value
TypeDescription
(google.cloud.domains.v1beta1.Registration.State|keyof typeof google.cloud.domains.v1beta1.Registration.State)

supportedPrivacy

public supportedPrivacy: google.cloud.domains.v1beta1.ContactPrivacy[];

Registration supportedPrivacy.

Property Value
TypeDescription
google.cloud.domains.v1beta1.ContactPrivacy[]

Methods

create(properties)

public static create(properties?: google.cloud.domains.v1beta1.IRegistration): google.cloud.domains.v1beta1.Registration;

Creates a new Registration instance using the specified properties.

Parameter
NameDescription
properties IRegistration

Properties to set

Returns
TypeDescription
google.cloud.domains.v1beta1.Registration

Registration instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.domains.v1beta1.Registration;

Decodes a Registration message from the specified reader or buffer.

Parameters
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
google.cloud.domains.v1beta1.Registration

Registration

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.domains.v1beta1.Registration;

Decodes a Registration message from the specified reader or buffer, length delimited.

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
google.cloud.domains.v1beta1.Registration

Registration

encode(message, writer)

public static encode(message: google.cloud.domains.v1beta1.IRegistration, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified Registration message. Does not implicitly messages.

Parameters
NameDescription
message IRegistration

Registration message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.domains.v1beta1.IRegistration, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified Registration message, length delimited. Does not implicitly messages.

Parameters
NameDescription
message IRegistration

Registration message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.domains.v1beta1.Registration;

Creates a Registration message from a plain object. Also converts values to their respective internal types.

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
google.cloud.domains.v1beta1.Registration

Registration

toJSON()

public toJSON(): { [k: string]: any };

Converts this Registration to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.domains.v1beta1.Registration, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a Registration message. Also converts values to other types if specified.

Parameters
NameDescription
message google.cloud.domains.v1beta1.Registration

Registration

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a Registration message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not