Represents a PublicDelegatedPrefix.
Package
@google-cloud/computeConstructors
(constructor)(properties)
constructor(properties?: google.cloud.compute.v1.IPublicDelegatedPrefix);
Constructs a new PublicDelegatedPrefix.
Name | Description |
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.
_selfLink
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.
selfLink
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.
Name | Description |
properties |
IPublicDelegatedPrefix
Properties to set |
Type | Description |
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.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
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.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
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.
Name | Description |
message |
IPublicDelegatedPrefix
PublicDelegatedPrefix 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.compute.v1.IPublicDelegatedPrefix, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified PublicDelegatedPrefix message, length delimited. Does not implicitly messages.
Name | Description |
message |
IPublicDelegatedPrefix
PublicDelegatedPrefix 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.compute.v1.PublicDelegatedPrefix;
Creates a PublicDelegatedPrefix 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.compute.v1.PublicDelegatedPrefix | PublicDelegatedPrefix |
toJSON()
public toJSON(): { [k: string]: any };
Converts this PublicDelegatedPrefix to JSON.
Type | Description |
{ [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.
Name | Description |
message |
google.cloud.compute.v1.PublicDelegatedPrefix
PublicDelegatedPrefix |
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 PublicDelegatedPrefix message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|