Operation

google.longrunning. Operation

Represents an Operation.

Constructor

new Operation(propertiesopt)

Constructs a new Operation.

Parameters:
Name Type Attributes Description
properties google.longrunning.IOperation <optional>

Properties to set

Implements:
  • IOperation

Members

done :boolean

Operation done.

done :boolean

Operation done.

done :boolean

Operation done.

error :google.rpc.IStatus|null|undefined

Operation error.

error :google.rpc.IStatus|null|undefined

Operation error.

error :google.rpc.IStatus|null|undefined

Operation error.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

name :string

Operation name.

name :string

Operation name.

name :string

Operation name.

response :google.protobuf.IAny|null|undefined

Operation response.

response :google.protobuf.IAny|null|undefined

Operation response.

response :google.protobuf.IAny|null|undefined

Operation response.

result :"error"|"response"|undefined

Operation result.

result :"error"|"response"|undefined

Operation result.

result :"error"|"response"|undefined

Operation result.

Methods

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.

google.longrunning. Operation

Represents an Operation.

Constructor

new Operation(propertiesopt)

Constructs a new Operation.

Parameters:
Name Type Attributes Description
properties google.longrunning.IOperation <optional>

Properties to set

Implements:
  • IOperation

Members

done :boolean

Operation done.

done :boolean

Operation done.

done :boolean

Operation done.

error :google.rpc.IStatus|null|undefined

Operation error.

error :google.rpc.IStatus|null|undefined

Operation error.

error :google.rpc.IStatus|null|undefined

Operation error.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

name :string

Operation name.

name :string

Operation name.

name :string

Operation name.

response :google.protobuf.IAny|null|undefined

Operation response.

response :google.protobuf.IAny|null|undefined

Operation response.

response :google.protobuf.IAny|null|undefined

Operation response.

result :"error"|"response"|undefined

Operation result.

result :"error"|"response"|undefined

Operation result.

result :"error"|"response"|undefined

Operation result.

Methods

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.

google.longrunning. Operation

Represents an Operation.

Constructor

new Operation(propertiesopt)

Constructs a new Operation.

Parameters:
Name Type Attributes Description
properties google.longrunning.IOperation <optional>

Properties to set

Implements:
  • IOperation

Members

done :boolean

Operation done.

done :boolean

Operation done.

done :boolean

Operation done.

error :google.rpc.IStatus|null|undefined

Operation error.

error :google.rpc.IStatus|null|undefined

Operation error.

error :google.rpc.IStatus|null|undefined

Operation error.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

metadata :google.protobuf.IAny|null|undefined

Operation metadata.

name :string

Operation name.

name :string

Operation name.

name :string

Operation name.

response :google.protobuf.IAny|null|undefined

Operation response.

response :google.protobuf.IAny|null|undefined

Operation response.

response :google.protobuf.IAny|null|undefined

Operation response.

result :"error"|"response"|undefined

Operation result.

result :"error"|"response"|undefined

Operation result.

result :"error"|"response"|undefined

Operation result.

Methods

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.longrunning.Operation}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.longrunning.Operation

Operation

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.

toJSON() → {Object.<string, *>}

Converts this Operation to JSON.