@google-cloud/compute
Version:
Google Compute Engine Client Library for Node.js
840 lines (689 loc) • 29.3 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 AcceleratorTopologiesInfo. */
interface IAcceleratorTopologiesInfo {
/** AcceleratorTopologiesInfo acceleratorTopologyInfos */
acceleratorTopologyInfos?: (google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfo[]|null);
}
/** Represents an AcceleratorTopologiesInfo. */
class AcceleratorTopologiesInfo implements IAcceleratorTopologiesInfo {
/**
* Constructs a new AcceleratorTopologiesInfo.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAcceleratorTopologiesInfo);
/** AcceleratorTopologiesInfo acceleratorTopologyInfos. */
public acceleratorTopologyInfos: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfo[];
/**
* Creates a new AcceleratorTopologiesInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns AcceleratorTopologiesInfo instance
*/
public static create(properties?: google.cloud.compute.v1.IAcceleratorTopologiesInfo): google.cloud.compute.v1.AcceleratorTopologiesInfo;
/**
* Encodes the specified AcceleratorTopologiesInfo message. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTopologiesInfo.verify|verify} messages.
* @param message AcceleratorTopologiesInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAcceleratorTopologiesInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AcceleratorTopologiesInfo message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTopologiesInfo.verify|verify} messages.
* @param message AcceleratorTopologiesInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAcceleratorTopologiesInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AcceleratorTopologiesInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AcceleratorTopologiesInfo
* @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.AcceleratorTopologiesInfo;
/**
* Decodes an AcceleratorTopologiesInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AcceleratorTopologiesInfo
* @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.AcceleratorTopologiesInfo;
/**
* Verifies an AcceleratorTopologiesInfo 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 AcceleratorTopologiesInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AcceleratorTopologiesInfo
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AcceleratorTopologiesInfo;
/**
* Creates a plain object from an AcceleratorTopologiesInfo message. Also converts values to other types if specified.
* @param message AcceleratorTopologiesInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AcceleratorTopologiesInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AcceleratorTopologiesInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AcceleratorTopologiesInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AcceleratorTopologiesInfoAcceleratorTopologyInfo. */
interface IAcceleratorTopologiesInfoAcceleratorTopologyInfo {
/** AcceleratorTopologiesInfoAcceleratorTopologyInfo acceleratorTopology */
acceleratorTopology?: (string|null);
/** AcceleratorTopologiesInfoAcceleratorTopologyInfo infoPerTopologyStates */
infoPerTopologyStates?: (google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState[]|null);
}
/** Represents an AcceleratorTopologiesInfoAcceleratorTopologyInfo. */
class AcceleratorTopologiesInfoAcceleratorTopologyInfo implements IAcceleratorTopologiesInfoAcceleratorTopologyInfo {
/**
* Constructs a new AcceleratorTopologiesInfoAcceleratorTopologyInfo.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfo);
/** AcceleratorTopologiesInfoAcceleratorTopologyInfo acceleratorTopology. */
public acceleratorTopology?: (string|null);
/** AcceleratorTopologiesInfoAcceleratorTopologyInfo infoPerTopologyStates. */
public infoPerTopologyStates: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState[];
/**
* Creates a new AcceleratorTopologiesInfoAcceleratorTopologyInfo instance using the specified properties.
* @param [properties] Properties to set
* @returns AcceleratorTopologiesInfoAcceleratorTopologyInfo instance
*/
public static create(properties?: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfo): google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfo;
/**
* Encodes the specified AcceleratorTopologiesInfoAcceleratorTopologyInfo message. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfo.verify|verify} messages.
* @param message AcceleratorTopologiesInfoAcceleratorTopologyInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AcceleratorTopologiesInfoAcceleratorTopologyInfo message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfo.verify|verify} messages.
* @param message AcceleratorTopologiesInfoAcceleratorTopologyInfo message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfo, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AcceleratorTopologiesInfoAcceleratorTopologyInfo message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AcceleratorTopologiesInfoAcceleratorTopologyInfo
* @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.AcceleratorTopologiesInfoAcceleratorTopologyInfo;
/**
* Decodes an AcceleratorTopologiesInfoAcceleratorTopologyInfo message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AcceleratorTopologiesInfoAcceleratorTopologyInfo
* @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.AcceleratorTopologiesInfoAcceleratorTopologyInfo;
/**
* Verifies an AcceleratorTopologiesInfoAcceleratorTopologyInfo 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 AcceleratorTopologiesInfoAcceleratorTopologyInfo message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AcceleratorTopologiesInfoAcceleratorTopologyInfo
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfo;
/**
* Creates a plain object from an AcceleratorTopologiesInfoAcceleratorTopologyInfo message. Also converts values to other types if specified.
* @param message AcceleratorTopologiesInfoAcceleratorTopologyInfo
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AcceleratorTopologiesInfoAcceleratorTopologyInfo to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AcceleratorTopologiesInfoAcceleratorTopologyInfo
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of an AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState. */
interface IAcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState {
/** AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState count */
count?: (number|null);
/** AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState state */
state?: (string|null);
}
/** Represents an AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState. */
class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState implements IAcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState {
/**
* Constructs a new AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.
* @param [properties] Properties to set
*/
constructor(properties?: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState);
/** AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState count. */
public count?: (number|null);
/** AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState state. */
public state?: (string|null);
/**
* Creates a new AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState instance using the specified properties.
* @param [properties] Properties to set
* @returns AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState instance
*/
public static create(properties?: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState): google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState;
/**
* Encodes the specified AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState message. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.verify|verify} messages.
* @param message AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.verify|verify} messages.
* @param message AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: google.cloud.compute.v1.IAcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState
* @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.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState;
/**
* Decodes an AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState
* @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.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState;
/**
* Verifies an AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState 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 AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState
*/
public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState;
/**
* Creates a plain object from an AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState message. Also converts values to other types if specified.
* @param message AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
namespace AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState {
/** State enum. */
enum State {
UNDEFINED_STATE = 0,
AVAILABLE = 442079913,
RUNNING = 121282975,
TOPOLOGY_STATE_UNSPECIFIED = 188327545,
UNHEALTHY = 462118084
}
}
/** 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 [proper