Represents a Registration.
Package
@google-cloud/domains!Constructors
(constructor)(properties)
constructor(properties?: google.cloud.domains.v1beta1.IRegistration);
Constructs a new Registration.
Name | Description |
properties |
IRegistration
Properties to set |
Properties
contactSettings
public contactSettings?: (google.cloud.domains.v1beta1.IContactSettings|null);
Registration contactSettings.
Type | Description |
(google.cloud.domains.v1beta1.IContactSettings|null) |
createTime
public createTime?: (google.protobuf.ITimestamp|null);
Registration createTime.
Type | Description |
(google.protobuf.ITimestamp|null) |
dnsSettings
public dnsSettings?: (google.cloud.domains.v1beta1.IDnsSettings|null);
Registration dnsSettings.
Type | Description |
(google.cloud.domains.v1beta1.IDnsSettings|null) |
domainName
public domainName: string;
Registration domainName.
Type | Description |
string |
expireTime
public expireTime?: (google.protobuf.ITimestamp|null);
Registration expireTime.
Type | Description |
(google.protobuf.ITimestamp|null) |
issues
public issues: google.cloud.domains.v1beta1.Registration.Issue[];
Registration issues.
Type | Description |
google.cloud.domains.v1beta1.Registration.Issue[] |
labels
public labels: { [k: string]: string };
Registration labels.
Type | Description |
{ [k: string]: string } |
managementSettings
public managementSettings?: (google.cloud.domains.v1beta1.IManagementSettings|null);
Registration managementSettings.
Type | Description |
(google.cloud.domains.v1beta1.IManagementSettings|null) |
name
public name: string;
Registration name.
Type | Description |
string |
pendingContactSettings
public pendingContactSettings?: (google.cloud.domains.v1beta1.IContactSettings|null);
Registration pendingContactSettings.
Type | Description |
(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.
Type | Description |
(google.cloud.domains.v1beta1.Registration.State|keyof typeof google.cloud.domains.v1beta1.Registration.State) |
supportedPrivacy
public supportedPrivacy: google.cloud.domains.v1beta1.ContactPrivacy[];
Registration supportedPrivacy.
Type | Description |
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.
Name | Description |
properties |
IRegistration
Properties to set |
Type | Description |
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.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
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.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
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.
Name | Description |
message |
IRegistration
Registration message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$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.
Name | Description |
message |
IRegistration
Registration message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$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.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.cloud.domains.v1beta1.Registration | Registration |
toJSON()
public toJSON(): { [k: string]: any };
Converts this Registration to JSON.
Type | Description |
{ [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.
Name | Description |
message |
google.cloud.domains.v1beta1.Registration
Registration |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies a Registration message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|