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

Represents a RecreateInstancesRegionInstanceGroupManagerRequest.

Package

@google-cloud/compute

Constructors

(constructor)(properties)

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

Constructs a new RecreateInstancesRegionInstanceGroupManagerRequest.

Parameter
NameDescription
properties google.cloud.compute.v1.IRecreateInstancesRegionInstanceGroupManagerRequest

Properties to set

Properties

_requestId

public _requestId?: "requestId";

RecreateInstancesRegionInstanceGroupManagerRequest _requestId.

instanceGroupManager

public instanceGroupManager: string;

RecreateInstancesRegionInstanceGroupManagerRequest instanceGroupManager.

project

public project: string;

RecreateInstancesRegionInstanceGroupManagerRequest project.

region

public region: string;

RecreateInstancesRegionInstanceGroupManagerRequest region.

regionInstanceGroupManagersRecreateRequestResource

public regionInstanceGroupManagersRecreateRequestResource?: (google.cloud.compute.v1.IRegionInstanceGroupManagersRecreateRequest|null);

RecreateInstancesRegionInstanceGroupManagerRequest regionInstanceGroupManagersRecreateRequestResource.

requestId

public requestId?: (string|null);

RecreateInstancesRegionInstanceGroupManagerRequest requestId.

Methods

create(properties)

public static create(properties?: google.cloud.compute.v1.IRecreateInstancesRegionInstanceGroupManagerRequest): google.cloud.compute.v1.RecreateInstancesRegionInstanceGroupManagerRequest;

Creates a new RecreateInstancesRegionInstanceGroupManagerRequest instance using the specified properties.

Parameter
NameDescription
properties google.cloud.compute.v1.IRecreateInstancesRegionInstanceGroupManagerRequest

Properties to set

Returns
TypeDescription
google.cloud.compute.v1.RecreateInstancesRegionInstanceGroupManagerRequest

RecreateInstancesRegionInstanceGroupManagerRequest instance

decode(reader, length)

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

Decodes a RecreateInstancesRegionInstanceGroupManagerRequest 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.RecreateInstancesRegionInstanceGroupManagerRequest

RecreateInstancesRegionInstanceGroupManagerRequest

decodeDelimited(reader)

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

Decodes a RecreateInstancesRegionInstanceGroupManagerRequest 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.RecreateInstancesRegionInstanceGroupManagerRequest

RecreateInstancesRegionInstanceGroupManagerRequest

encode(message, writer)

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

Encodes the specified RecreateInstancesRegionInstanceGroupManagerRequest message. Does not implicitly messages.

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

RecreateInstancesRegionInstanceGroupManagerRequest 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.IRecreateInstancesRegionInstanceGroupManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;

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

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

RecreateInstancesRegionInstanceGroupManagerRequest 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.RecreateInstancesRegionInstanceGroupManagerRequest;

Creates a RecreateInstancesRegionInstanceGroupManagerRequest 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.RecreateInstancesRegionInstanceGroupManagerRequest

RecreateInstancesRegionInstanceGroupManagerRequest

toJSON()

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

Converts this RecreateInstancesRegionInstanceGroupManagerRequest to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

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

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

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

RecreateInstancesRegionInstanceGroupManagerRequest

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