Represents an InitialStateConfig.
Package
@google-cloud/computeConstructors
(constructor)(properties)
constructor(properties?: google.cloud.compute.v1.IInitialStateConfig);
Constructs a new InitialStateConfig.
Name | Description |
properties |
IInitialStateConfig
Properties to set |
Properties
_pk
public _pk?: "pk";
InitialStateConfig _pk.
dbs
public dbs: google.cloud.compute.v1.IFileContentBuffer[];
InitialStateConfig dbs.
dbxs
public dbxs: google.cloud.compute.v1.IFileContentBuffer[];
InitialStateConfig dbxs.
keks
public keks: google.cloud.compute.v1.IFileContentBuffer[];
InitialStateConfig keks.
pk
public pk?: (google.cloud.compute.v1.IFileContentBuffer|null);
InitialStateConfig pk.
Methods
create(properties)
public static create(properties?: google.cloud.compute.v1.IInitialStateConfig): google.cloud.compute.v1.InitialStateConfig;
Creates a new InitialStateConfig instance using the specified properties.
Name | Description |
properties |
IInitialStateConfig
Properties to set |
Type | Description |
google.cloud.compute.v1.InitialStateConfig | InitialStateConfig instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.InitialStateConfig;
Decodes an InitialStateConfig 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.InitialStateConfig | InitialStateConfig |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.InitialStateConfig;
Decodes an InitialStateConfig 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.InitialStateConfig | InitialStateConfig |
encode(message, writer)
public static encode(message: google.cloud.compute.v1.IInitialStateConfig, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified InitialStateConfig message. Does not implicitly messages.
Name | Description |
message |
IInitialStateConfig
InitialStateConfig 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.IInitialStateConfig, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified InitialStateConfig message, length delimited. Does not implicitly messages.
Name | Description |
message |
IInitialStateConfig
InitialStateConfig 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.InitialStateConfig;
Creates an InitialStateConfig 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.InitialStateConfig | InitialStateConfig |
toJSON()
public toJSON(): { [k: string]: any };
Converts this InitialStateConfig to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.cloud.compute.v1.InitialStateConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from an InitialStateConfig message. Also converts values to other types if specified.
Name | Description |
message |
google.cloud.compute.v1.InitialStateConfig
InitialStateConfig |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies an InitialStateConfig message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|