@google-cloud/compute
Version:
Google Compute Engine Client Library for Node.js
917 lines (739 loc) • 28 MB
TypeScript
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import type {protobuf as $protobuf} from "google-gax";
import Long = require("long");
/** Namespace google. */
export namespace google {
/** Namespace cloud. */
namespace cloud {
/** Namespace compute. */
namespace compute {
/** Namespace v1. */
namespace v1 {
/** Properties of a AWSV4Signature. */
interface IAWSV4Signature {
/** AWSV4Signature accessKey */
accessKey?: (string|null);
/** AWSV4Signature accessKeyId */
accessKeyId?: (string|null);
/** AWSV4Signature accessKeyVersion */
accessKeyVersion?: (string|null);
/** AWSV4Signature originRegion */
originRegion?: (string|null);
}
/** Represents a AWSV4Signature. */
class AWSV4Signature implements IAWSV4Signature {
/**
* Constructs a new AWSV4Signature.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAWSV4Signature);
/** AWSV4Signature accessKey. */
public accessKey?: (string|null);
/** AWSV4Signature accessKeyId. */
public accessKeyId?: (string|null);
/** AWSV4Signature accessKeyVersion. */
public accessKeyVersion?: (string|null);
/** AWSV4Signature originRegion. */
public originRegion?: (string|null);
/**
* Creates a new AWSV4Signature instance using the specified properties.
* @param [properties] Properties to set
* @returns AWSV4Signature instance
*/
public static create(properties?: google.cloud.compute.v1.IAWSV4Signature): google.cloud.compute.v1.AWSV4Signature;
/**
* Encodes the specified AWSV4Signature message. Does not implicitly {@link google.cloud.compute.v1.AWSV4Signature.verify|verify} messages.
* @param message AWSV4Signature message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAWSV4Signature, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AWSV4Signature message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AWSV4Signature.verify|verify} messages.
* @param message AWSV4Signature message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAWSV4Signature, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a AWSV4Signature message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AWSV4Signature
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AWSV4Signature;
/**
* Decodes a AWSV4Signature message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AWSV4Signature
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AWSV4Signature;
/**
* Verifies a AWSV4Signature message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a AWSV4Signature message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AWSV4Signature
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AWSV4Signature;
/**
* Creates a plain object from a AWSV4Signature message. Also converts values to other types if specified.
* @param message AWSV4Signature
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AWSV4Signature, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AWSV4Signature to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AWSV4Signature
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AbandonInstancesInstanceGroupManagerRequest. */
interface IAbandonInstancesInstanceGroupManagerRequest {
/** AbandonInstancesInstanceGroupManagerRequest instanceGroupManager */
instanceGroupManager?: (string|null);
/** AbandonInstancesInstanceGroupManagerRequest instanceGroupManagersAbandonInstancesRequestResource */
instanceGroupManagersAbandonInstancesRequestResource?: (google.cloud.compute.v1.IInstanceGroupManagersAbandonInstancesRequest|null);
/** AbandonInstancesInstanceGroupManagerRequest project */
project?: (string|null);
/** AbandonInstancesInstanceGroupManagerRequest requestId */
requestId?: (string|null);
/** AbandonInstancesInstanceGroupManagerRequest zone */
zone?: (string|null);
}
/** Represents an AbandonInstancesInstanceGroupManagerRequest. */
class AbandonInstancesInstanceGroupManagerRequest implements IAbandonInstancesInstanceGroupManagerRequest {
/**
* Constructs a new AbandonInstancesInstanceGroupManagerRequest.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAbandonInstancesInstanceGroupManagerRequest);
/** AbandonInstancesInstanceGroupManagerRequest instanceGroupManager. */
public instanceGroupManager: string;
/** AbandonInstancesInstanceGroupManagerRequest instanceGroupManagersAbandonInstancesRequestResource. */
public instanceGroupManagersAbandonInstancesRequestResource?: (google.cloud.compute.v1.IInstanceGroupManagersAbandonInstancesRequest|null);
/** AbandonInstancesInstanceGroupManagerRequest project. */
public project: string;
/** AbandonInstancesInstanceGroupManagerRequest requestId. */
public requestId?: (string|null);
/** AbandonInstancesInstanceGroupManagerRequest zone. */
public zone: string;
/**
* Creates a new AbandonInstancesInstanceGroupManagerRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns AbandonInstancesInstanceGroupManagerRequest instance
*/
public static create(properties?: google.cloud.compute.v1.IAbandonInstancesInstanceGroupManagerRequest): google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest;
/**
* Encodes the specified AbandonInstancesInstanceGroupManagerRequest message. Does not implicitly {@link google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest.verify|verify} messages.
* @param message AbandonInstancesInstanceGroupManagerRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAbandonInstancesInstanceGroupManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AbandonInstancesInstanceGroupManagerRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest.verify|verify} messages.
* @param message AbandonInstancesInstanceGroupManagerRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAbandonInstancesInstanceGroupManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AbandonInstancesInstanceGroupManagerRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AbandonInstancesInstanceGroupManagerRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest;
/**
* Decodes an AbandonInstancesInstanceGroupManagerRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AbandonInstancesInstanceGroupManagerRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest;
/**
* Verifies an AbandonInstancesInstanceGroupManagerRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AbandonInstancesInstanceGroupManagerRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AbandonInstancesInstanceGroupManagerRequest
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest;
/**
* Creates a plain object from an AbandonInstancesInstanceGroupManagerRequest message. Also converts values to other types if specified.
* @param message AbandonInstancesInstanceGroupManagerRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AbandonInstancesInstanceGroupManagerRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AbandonInstancesInstanceGroupManagerRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AbandonInstancesRegionInstanceGroupManagerRequest. */
interface IAbandonInstancesRegionInstanceGroupManagerRequest {
/** AbandonInstancesRegionInstanceGroupManagerRequest instanceGroupManager */
instanceGroupManager?: (string|null);
/** AbandonInstancesRegionInstanceGroupManagerRequest project */
project?: (string|null);
/** AbandonInstancesRegionInstanceGroupManagerRequest region */
region?: (string|null);
/** AbandonInstancesRegionInstanceGroupManagerRequest regionInstanceGroupManagersAbandonInstancesRequestResource */
regionInstanceGroupManagersAbandonInstancesRequestResource?: (google.cloud.compute.v1.IRegionInstanceGroupManagersAbandonInstancesRequest|null);
/** AbandonInstancesRegionInstanceGroupManagerRequest requestId */
requestId?: (string|null);
}
/** Represents an AbandonInstancesRegionInstanceGroupManagerRequest. */
class AbandonInstancesRegionInstanceGroupManagerRequest implements IAbandonInstancesRegionInstanceGroupManagerRequest {
/**
* Constructs a new AbandonInstancesRegionInstanceGroupManagerRequest.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAbandonInstancesRegionInstanceGroupManagerRequest);
/** AbandonInstancesRegionInstanceGroupManagerRequest instanceGroupManager. */
public instanceGroupManager: string;
/** AbandonInstancesRegionInstanceGroupManagerRequest project. */
public project: string;
/** AbandonInstancesRegionInstanceGroupManagerRequest region. */
public region: string;
/** AbandonInstancesRegionInstanceGroupManagerRequest regionInstanceGroupManagersAbandonInstancesRequestResource. */
public regionInstanceGroupManagersAbandonInstancesRequestResource?: (google.cloud.compute.v1.IRegionInstanceGroupManagersAbandonInstancesRequest|null);
/** AbandonInstancesRegionInstanceGroupManagerRequest requestId. */
public requestId?: (string|null);
/**
* Creates a new AbandonInstancesRegionInstanceGroupManagerRequest instance using the specified properties.
* @param [properties] Properties to set
* @returns AbandonInstancesRegionInstanceGroupManagerRequest instance
*/
public static create(properties?: google.cloud.compute.v1.IAbandonInstancesRegionInstanceGroupManagerRequest): google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest;
/**
* Encodes the specified AbandonInstancesRegionInstanceGroupManagerRequest message. Does not implicitly {@link google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest.verify|verify} messages.
* @param message AbandonInstancesRegionInstanceGroupManagerRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAbandonInstancesRegionInstanceGroupManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AbandonInstancesRegionInstanceGroupManagerRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest.verify|verify} messages.
* @param message AbandonInstancesRegionInstanceGroupManagerRequest message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAbandonInstancesRegionInstanceGroupManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AbandonInstancesRegionInstanceGroupManagerRequest message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AbandonInstancesRegionInstanceGroupManagerRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest;
/**
* Decodes an AbandonInstancesRegionInstanceGroupManagerRequest message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AbandonInstancesRegionInstanceGroupManagerRequest
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest;
/**
* Verifies an AbandonInstancesRegionInstanceGroupManagerRequest message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AbandonInstancesRegionInstanceGroupManagerRequest message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AbandonInstancesRegionInstanceGroupManagerRequest
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest;
/**
* Creates a plain object from an AbandonInstancesRegionInstanceGroupManagerRequest message. Also converts values to other types if specified.
* @param message AbandonInstancesRegionInstanceGroupManagerRequest
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AbandonInstancesRegionInstanceGroupManagerRequest to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AbandonInstancesRegionInstanceGroupManagerRequest
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AcceleratorConfig. */
interface IAcceleratorConfig {
/** AcceleratorConfig acceleratorCount */
acceleratorCount?: (number|null);
/** AcceleratorConfig acceleratorType */
acceleratorType?: (string|null);
}
/** Represents an AcceleratorConfig. */
class AcceleratorConfig implements IAcceleratorConfig {
/**
* Constructs a new AcceleratorConfig.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAcceleratorConfig);
/** AcceleratorConfig acceleratorCount. */
public acceleratorCount?: (number|null);
/** AcceleratorConfig acceleratorType. */
public acceleratorType?: (string|null);
/**
* Creates a new AcceleratorConfig instance using the specified properties.
* @param [properties] Properties to set
* @returns AcceleratorConfig instance
*/
public static create(properties?: google.cloud.compute.v1.IAcceleratorConfig): google.cloud.compute.v1.AcceleratorConfig;
/**
* Encodes the specified AcceleratorConfig message. Does not implicitly {@link google.cloud.compute.v1.AcceleratorConfig.verify|verify} messages.
* @param message AcceleratorConfig message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAcceleratorConfig, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AcceleratorConfig message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AcceleratorConfig.verify|verify} messages.
* @param message AcceleratorConfig message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAcceleratorConfig, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AcceleratorConfig message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AcceleratorConfig
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AcceleratorConfig;
/**
* Decodes an AcceleratorConfig message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AcceleratorConfig
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AcceleratorConfig;
/**
* Verifies an AcceleratorConfig message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AcceleratorConfig message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AcceleratorConfig
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AcceleratorConfig;
/**
* Creates a plain object from an AcceleratorConfig message. Also converts values to other types if specified.
* @param message AcceleratorConfig
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AcceleratorConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AcceleratorConfig to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AcceleratorConfig
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AcceleratorType. */
interface IAcceleratorType {
/** AcceleratorType creationTimestamp */
creationTimestamp?: (string|null);
/** AcceleratorType deprecated */
deprecated?: (google.cloud.compute.v1.IDeprecationStatus|null);
/** AcceleratorType description */
description?: (string|null);
/** AcceleratorType id */
id?: (number|Long|string|null);
/** AcceleratorType kind */
kind?: (string|null);
/** AcceleratorType maximumCardsPerInstance */
maximumCardsPerInstance?: (number|null);
/** AcceleratorType name */
name?: (string|null);
/** AcceleratorType selfLink */
selfLink?: (string|null);
/** AcceleratorType zone */
zone?: (string|null);
}
/** Represents an AcceleratorType. */
class AcceleratorType implements IAcceleratorType {
/**
* Constructs a new AcceleratorType.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAcceleratorType);
/** AcceleratorType creationTimestamp. */
public creationTimestamp?: (string|null);
/** AcceleratorType deprecated. */
public deprecated?: (google.cloud.compute.v1.IDeprecationStatus|null);
/** AcceleratorType description. */
public description?: (string|null);
/** AcceleratorType id. */
public id?: (number|Long|string|null);
/** AcceleratorType kind. */
public kind?: (string|null);
/** AcceleratorType maximumCardsPerInstance. */
public maximumCardsPerInstance?: (number|null);
/** AcceleratorType name. */
public name?: (string|null);
/** AcceleratorType selfLink. */
public selfLink?: (string|null);
/** AcceleratorType zone. */
public zone?: (string|null);
/**
* Creates a new AcceleratorType instance using the specified properties.
* @param [properties] Properties to set
* @returns AcceleratorType instance
*/
public static create(properties?: google.cloud.compute.v1.IAcceleratorType): google.cloud.compute.v1.AcceleratorType;
/**
* Encodes the specified AcceleratorType message. Does not implicitly {@link google.cloud.compute.v1.AcceleratorType.verify|verify} messages.
* @param message AcceleratorType message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAcceleratorType, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AcceleratorType message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AcceleratorType.verify|verify} messages.
* @param message AcceleratorType message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAcceleratorType, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AcceleratorType message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AcceleratorType
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AcceleratorType;
/**
* Decodes an AcceleratorType message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AcceleratorType
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AcceleratorType;
/**
* Verifies an AcceleratorType message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AcceleratorType message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AcceleratorType
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AcceleratorType;
/**
* Creates a plain object from an AcceleratorType message. Also converts values to other types if specified.
* @param message AcceleratorType
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AcceleratorType, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AcceleratorType to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AcceleratorType
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AcceleratorTypeAggregatedList. */
interface IAcceleratorTypeAggregatedList {
/** AcceleratorTypeAggregatedList id */
id?: (string|null);
/** AcceleratorTypeAggregatedList items */
items?: ({ [k: string]: google.cloud.compute.v1.IAcceleratorTypesScopedList }|null);
/** AcceleratorTypeAggregatedList kind */
kind?: (string|null);
/** AcceleratorTypeAggregatedList nextPageToken */
nextPageToken?: (string|null);
/** AcceleratorTypeAggregatedList selfLink */
selfLink?: (string|null);
/** AcceleratorTypeAggregatedList unreachables */
unreachables?: (string[]|null);
/** AcceleratorTypeAggregatedList warning */
warning?: (google.cloud.compute.v1.IWarning|null);
}
/** Represents an AcceleratorTypeAggregatedList. */
class AcceleratorTypeAggregatedList implements IAcceleratorTypeAggregatedList {
/**
* Constructs a new AcceleratorTypeAggregatedList.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAcceleratorTypeAggregatedList);
/** AcceleratorTypeAggregatedList id. */
public id?: (string|null);
/** AcceleratorTypeAggregatedList items. */
public items: { [k: string]: google.cloud.compute.v1.IAcceleratorTypesScopedList };
/** AcceleratorTypeAggregatedList kind. */
public kind?: (string|null);
/** AcceleratorTypeAggregatedList nextPageToken. */
public nextPageToken?: (string|null);
/** AcceleratorTypeAggregatedList selfLink. */
public selfLink?: (string|null);
/** AcceleratorTypeAggregatedList unreachables. */
public unreachables: string[];
/** AcceleratorTypeAggregatedList warning. */
public warning?: (google.cloud.compute.v1.IWarning|null);
/**
* Creates a new AcceleratorTypeAggregatedList instance using the specified properties.
* @param [properties] Properties to set
* @returns AcceleratorTypeAggregatedList instance
*/
public static create(properties?: google.cloud.compute.v1.IAcceleratorTypeAggregatedList): google.cloud.compute.v1.AcceleratorTypeAggregatedList;
/**
* Encodes the specified AcceleratorTypeAggregatedList message. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTypeAggregatedList.verify|verify} messages.
* @param message AcceleratorTypeAggregatedList message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAcceleratorTypeAggregatedList, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AcceleratorTypeAggregatedList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTypeAggregatedList.verify|verify} messages.
* @param message AcceleratorTypeAggregatedList message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAcceleratorTypeAggregatedList, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AcceleratorTypeAggregatedList message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AcceleratorTypeAggregatedList
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AcceleratorTypeAggregatedList;
/**
* Decodes an AcceleratorTypeAggregatedList message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AcceleratorTypeAggregatedList
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AcceleratorTypeAggregatedList;
/**
* Verifies an AcceleratorTypeAggregatedList message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AcceleratorTypeAggregatedList message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AcceleratorTypeAggregatedList
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AcceleratorTypeAggregatedList;
/**
* Creates a plain object from an AcceleratorTypeAggregatedList message. Also converts values to other types if specified.
* @param message AcceleratorTypeAggregatedList
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AcceleratorTypeAggregatedList, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AcceleratorTypeAggregatedList to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AcceleratorTypeAggregatedList
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AcceleratorTypeList. */
interface IAcceleratorTypeList {
/** AcceleratorTypeList id */
id?: (string|null);
/** AcceleratorTypeList items */
items?: (google.cloud.compute.v1.IAcceleratorType[]|null);
/** AcceleratorTypeList kind */
kind?: (string|null);
/** AcceleratorTypeList nextPageToken */
nextPageToken?: (string|null);
/** AcceleratorTypeList selfLink */
selfLink?: (string|null);
/** AcceleratorTypeList warning */
warning?: (google.cloud.compute.v1.IWarning|null);
}
/** Represents an AcceleratorTypeList. */
class AcceleratorTypeList implements IAcceleratorTypeList {
/**
* Constructs a new AcceleratorTypeList.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAcceleratorTypeList);
/** AcceleratorTypeList id. */
public id?: (string|null);
/** AcceleratorTypeList items. */
public items: google.cloud.compute.v1.IAcceleratorType[];
/** AcceleratorTypeList kind. */
public kind?: (string|null);
/** AcceleratorTypeList nextPageToken. */
public nextPageToken?: (string|null);
/** AcceleratorTypeList selfLink. */
public selfLink?: (string|null);
/** AcceleratorTypeList warning. */
public warning?: (google.cloud.compute.v1.IWarning|null);
/**
* Creates a new AcceleratorTypeList instance using the specified properties.
* @param [properties] Properties to set
* @returns AcceleratorTypeList instance
*/
public static create(properties?: google.cloud.compute.v1.IAcceleratorTypeList): google.cloud.compute.v1.AcceleratorTypeList;
/**
* Encodes the specified AcceleratorTypeList message. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTypeList.verify|verify} messages.
* @param message AcceleratorTypeList message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAcceleratorTypeList, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AcceleratorTypeList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTypeList.verify|verify} messages.
* @param message AcceleratorTypeList message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAcceleratorTypeList, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AcceleratorTypeList message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AcceleratorTypeList
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AcceleratorTypeList;
/**
* Decodes an AcceleratorTypeList message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AcceleratorTypeList
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AcceleratorTypeList;
/**
* Verifies an AcceleratorTypeList message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AcceleratorTypeList message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AcceleratorTypeList
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AcceleratorTypeList;
/**
* Creates a plain object from an AcceleratorTypeList message. Also converts values to other types if specified.
* @param message AcceleratorTypeList
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AcceleratorTypeList, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AcceleratorTypeList to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AcceleratorTypeList
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AcceleratorTypesScopedList. */
interface IAcceleratorTypesScopedList {
/** AcceleratorTypesScopedList acceleratorTypes */
acceleratorTypes?: (google.cloud.compute.v1.IAcceleratorType[]|null);
/** AcceleratorTypesScopedList warning */
warning?: (google.cloud.compute.v1.IWarning|null);
}
/** Represents an AcceleratorTypesScopedList. */
class AcceleratorTypesScopedList implements IAcceleratorTypesScopedList {
/**
* Constructs a new AcceleratorTypesScopedList.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAcceleratorTypesScopedList);
/** AcceleratorTypesScopedList acceleratorTypes. */
public acceleratorTypes: google.cloud.compute.v1.IAcceleratorType[];
/** AcceleratorTypesScopedList warning. */
public