Class protos.google.cloud.compute.v1.PublicDelegatedPrefix (3.0.0)

Represents a PublicDelegatedPrefix.

Package

@google-cloud/compute

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.compute.v1.IPublicDelegatedPrefix);

Constructs a new PublicDelegatedPrefix.

Parameter
NameDescription
properties IPublicDelegatedPrefix

Properties to set

Properties

_creationTimestamp

public _creationTimestamp?: "creationTimestamp";

PublicDelegatedPrefix _creationTimestamp.

_description

public _description?: "description";

PublicDelegatedPrefix _description.

_fingerprint

public _fingerprint?: "fingerprint";

PublicDelegatedPrefix _fingerprint.

_id

public _id?: "id";

PublicDelegatedPrefix _id.

_ipCidrRange

public _ipCidrRange?: "ipCidrRange";

PublicDelegatedPrefix _ipCidrRange.

_isLiveMigration

public _isLiveMigration?: "isLiveMigration";

PublicDelegatedPrefix _isLiveMigration.

_kind

public _kind?: "kind";

PublicDelegatedPrefix _kind.

_name

public _name?: "name";

PublicDelegatedPrefix _name.

_parentPrefix

public _parentPrefix?: "parentPrefix";

PublicDelegatedPrefix _parentPrefix.

_region

public _region?: "region";

PublicDelegatedPrefix _region.

public _selfLink?: "selfLink";

PublicDelegatedPrefix _selfLink.

_status

public _status?: "status";

PublicDelegatedPrefix _status.

creationTimestamp

public creationTimestamp?: (string|null);

PublicDelegatedPrefix creationTimestamp.

description

public description?: (string|null);

PublicDelegatedPrefix description.

fingerprint

public fingerprint?: (string|null);

PublicDelegatedPrefix fingerprint.

id

public id?: (number|Long|string|null);

PublicDelegatedPrefix id.

ipCidrRange

public ipCidrRange?: (string|null);

PublicDelegatedPrefix ipCidrRange.

isLiveMigration

public isLiveMigration?: (boolean|null);

PublicDelegatedPrefix isLiveMigration.

kind

public kind?: (string|null);

PublicDelegatedPrefix kind.

name

public name?: (string|null);

PublicDelegatedPrefix name.

parentPrefix

public parentPrefix?: (string|null);

PublicDelegatedPrefix parentPrefix.

publicDelegatedSubPrefixs

public publicDelegatedSubPrefixs: google.cloud.compute.v1.IPublicDelegatedPrefixPublicDelegatedSubPrefix[];

PublicDelegatedPrefix publicDelegatedSubPrefixs.

region

public region?: (string|null);

PublicDelegatedPrefix region.

public selfLink?: (string|null);

PublicDelegatedPrefix selfLink.

status

public status?: (google.cloud.compute.v1.PublicDelegatedPrefix.Status|keyof typeof google.cloud.compute.v1.PublicDelegatedPrefix.Status|null);

PublicDelegatedPrefix status.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.IPublicDelegatedPrefix): google.cloud.compute.v1.PublicDelegatedPrefix;

Creates a new PublicDelegatedPrefix instance using the specified properties.

Parameter
NameDescription
properties IPublicDelegatedPrefix

Properties to set

Returns
TypeDescription
google.cloud.compute.v1.PublicDelegatedPrefix

PublicDelegatedPrefix instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.PublicDelegatedPrefix;

Decodes a PublicDelegatedPrefix 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.compute.v1.PublicDelegatedPrefix

PublicDelegatedPrefix

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.PublicDelegatedPrefix;

Decodes a PublicDelegatedPrefix 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.compute.v1.PublicDelegatedPrefix

PublicDelegatedPrefix

encode(message, writer)

public static encode(message: google.cloud.compute.v1.IPublicDelegatedPrefix, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified PublicDelegatedPrefix message. Does not implicitly messages.

Parameters
NameDescription
message IPublicDelegatedPrefix

PublicDelegatedPrefix 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.compute.v1.IPublicDelegatedPrefix, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message IPublicDelegatedPrefix

PublicDelegatedPrefix 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.compute.v1.PublicDelegatedPrefix;

Creates a PublicDelegatedPrefix 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.compute.v1.PublicDelegatedPrefix

PublicDelegatedPrefix

toJSON()

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

Converts this PublicDelegatedPrefix to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message google.cloud.compute.v1.PublicDelegatedPrefix

PublicDelegatedPrefix

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 PublicDelegatedPrefix 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