Class protos.google.cloud.vmmigration.v1.AwsVmDetails (3.0.2)

Represents an AwsVmDetails.

Package

@google-cloud/vmmigration

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.vmmigration.v1.IAwsVmDetails);

Constructs a new AwsVmDetails.

Parameter
NameDescription
properties IAwsVmDetails

Properties to set

Properties

architecture

public architecture: (google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture|keyof typeof google.cloud.vmmigration.v1.AwsVmDetails.VmArchitecture);

AwsVmDetails architecture.

bootOption

public bootOption: (google.cloud.vmmigration.v1.AwsVmDetails.BootOption|keyof typeof google.cloud.vmmigration.v1.AwsVmDetails.BootOption);

AwsVmDetails bootOption.

committedStorageMb

public committedStorageMb: (number|Long|string);

AwsVmDetails committedStorageMb.

cpuCount

public cpuCount: number;

AwsVmDetails cpuCount.

diskCount

public diskCount: number;

AwsVmDetails diskCount.

displayName

public displayName: string;

AwsVmDetails displayName.

instanceType

public instanceType: string;

AwsVmDetails instanceType.

memoryMb

public memoryMb: number;

AwsVmDetails memoryMb.

osDescription

public osDescription: string;

AwsVmDetails osDescription.

powerState

public powerState: (google.cloud.vmmigration.v1.AwsVmDetails.PowerState|keyof typeof google.cloud.vmmigration.v1.AwsVmDetails.PowerState);

AwsVmDetails powerState.

securityGroups

public securityGroups: google.cloud.vmmigration.v1.IAwsSecurityGroup[];

AwsVmDetails securityGroups.

sourceDescription

public sourceDescription: string;

AwsVmDetails sourceDescription.

sourceId

public sourceId: string;

AwsVmDetails sourceId.

tags

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

AwsVmDetails tags.

virtualizationType

public virtualizationType: (google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType|keyof typeof google.cloud.vmmigration.v1.AwsVmDetails.VmVirtualizationType);

AwsVmDetails virtualizationType.

vmId

public vmId: string;

AwsVmDetails vmId.

vpcId

public vpcId: string;

AwsVmDetails vpcId.

zone

public zone: string;

AwsVmDetails zone.

Methods

create(properties)

public static create(properties?: google.cloud.vmmigration.v1.IAwsVmDetails): google.cloud.vmmigration.v1.AwsVmDetails;

Creates a new AwsVmDetails instance using the specified properties.

Parameter
NameDescription
properties IAwsVmDetails

Properties to set

Returns
TypeDescription
AwsVmDetails

AwsVmDetails instance

decode(reader, length)

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

Decodes an AwsVmDetails message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
AwsVmDetails

AwsVmDetails

decodeDelimited(reader)

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

Decodes an AwsVmDetails message from the specified reader or buffer, length delimited.

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
AwsVmDetails

AwsVmDetails

encode(message, writer)

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

Encodes the specified AwsVmDetails message. Does not implicitly messages.

Parameters
NameDescription
message IAwsVmDetails

AwsVmDetails 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.vmmigration.v1.IAwsVmDetails, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message IAwsVmDetails

AwsVmDetails 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.vmmigration.v1.AwsVmDetails;

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

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

Plain object

Returns
TypeDescription
AwsVmDetails

AwsVmDetails

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for AwsVmDetails

Parameter
NameDescription
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
TypeDescription
string

The default type url

toJSON()

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

Converts this AwsVmDetails to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

Parameters
NameDescription
message AwsVmDetails

AwsVmDetails

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

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

Verifies an AwsVmDetails 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