OperationResponseDeploymentmanagerV2 class
Represents an Operation resource. Google Compute Engine has three Operation resources: * Global * Regional * Zonal You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the globalOperations resource. - For regional operations, use the regionOperations resource. - For zonal operations, use the zoneOperations resource. For more information, read Global, Regional, and Zonal Resources.
Constructors
-
OperationResponseDeploymentmanagerV2({required Input<
String> clientOperationId, required Input<String> creationTimestamp, required Input<String> description, required Input<String> endTime, required Input<OperationErrorResponseDeploymentmanagerV2> error, required Input<String> httpErrorMessage, required Input<int> httpErrorStatusCode, required Input<String> insertTime, required Input<InstancesBulkInsertOperationMetadataResponseDeploymentmanagerV2> instancesBulkInsertOperationMetadata, required Input<String> kind, required Input<String> name, required Input<String> operationGroupId, required Input<String> operationType, required Input<int> progress, required Input<String> region, required Input<String> selfLink, required Input<SetCommonInstanceMetadataOperationMetadataResponseDeploymentmanagerV2> setCommonInstanceMetadataOperationMetadata, required Input<String> startTime, required Input<String> status, required Input<String> statusMessage, required Input<String> targetId, required Input<String> targetLink, required Input<String> user, required Input<List< warnings, required Input<OperationWarningsItemResponseDeploymentmanagerV2> >String> zone}) -
Creates a new OperationResponseDeploymentmanagerV2.
clientOperationIdThe value ofrequestIdif you provided it in the request. Not present otherwise. creationTimestamp Deprecated This field is deprecated.descriptionA textual description of the operation, which is set when the operation is created.endTimeThe time that this operation was completed. This value is in RFC3339 text format.errorIf errors are generated during processing of the operation, this field will be populated.httpErrorMessageIf the operation fails, this field contains the HTTP error message that was returned, such asNOT FOUND.httpErrorStatusCodeIf the operation fails, this field contains the HTTP error status code that was returned. For example, a404means the resource was not found.insertTimeThe time that this operation was requested. This value is in RFC3339 text format.instancesBulkInsertOperationMetadataRequired.kindType of the resource. Alwayscompute#operationfor Operation resources.nameName of the operation.operationGroupIdAn ID that represents a group of operations, such as when a group of operations results from abulkInsertAPI request.operationTypeThe type of operation, such asinsert,update, ordelete, and so on.progressAn optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.regionThe URL of the region where the operation resides. Only applicable when performing regional operations.selfLinkServer-defined URL for the resource.setCommonInstanceMetadataOperationMetadataIf the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.startTimeThe time that this operation was started by the server. This value is in RFC3339 text format.statusThe status of the operation, which can be one of the following:PENDING,RUNNING, orDONE.statusMessageAn optional textual description of the current status of the operation.targetIdThe unique target ID, which identifies a specific incarnation of the target resource.targetLinkThe URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.userUser who requested the operation, for example:user@example.comoralice_smith_identifier (global/workforcePools/example-com-us-employees).warningsIf warning messages are generated during processing of the operation, this field will be populated.zoneThe URL of the zone where the operation resides. Only applicable when performing per-zone operations.const -
OperationResponseDeploymentmanagerV2.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
clientOperationId
→ Input<
String> -
The value of
requestIdif you provided it in the request. Not present otherwise.final -
creationTimestamp
→ Input<
String> -
Deprecated This field is deprecated.
final
-
description
→ Input<
String> -
A textual description of the operation, which is set when the operation is created.
final
-
endTime
→ Input<
String> -
The time that this operation was completed. This value is in RFC3339 text format.
final
-
error
→ Input<
OperationErrorResponseDeploymentmanagerV2> -
If errors are generated during processing of the operation, this field will be populated.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
httpErrorMessage
→ Input<
String> -
If the operation fails, this field contains the HTTP error message that was returned, such as
NOT FOUND.final -
httpErrorStatusCode
→ Input<
int> -
If the operation fails, this field contains the HTTP error status code that was returned. For example, a
404means the resource was not found.final -
insertTime
→ Input<
String> -
The time that this operation was requested. This value is in RFC3339 text format.
final
-
instancesBulkInsertOperationMetadata
→ Input<
InstancesBulkInsertOperationMetadataResponseDeploymentmanagerV2> -
final
-
kind
→ Input<
String> -
Type of the resource. Always
compute#operationfor Operation resources.final -
name
→ Input<
String> -
Name of the operation.
final
-
operationGroupId
→ Input<
String> -
An ID that represents a group of operations, such as when a group of operations results from a
bulkInsertAPI request.final -
operationType
→ Input<
String> -
The type of operation, such as
insert,update, ordelete, and so on.final -
progress
→ Input<
int> -
An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
final
-
region
→ Input<
String> -
The URL of the region where the operation resides. Only applicable when performing regional operations.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selfLink
→ Input<
String> -
Server-defined URL for the resource.
final
-
setCommonInstanceMetadataOperationMetadata
→ Input<
SetCommonInstanceMetadataOperationMetadataResponseDeploymentmanagerV2> -
If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.
final
-
startTime
→ Input<
String> -
The time that this operation was started by the server. This value is in RFC3339 text format.
final
-
status
→ Input<
String> -
The status of the operation, which can be one of the following:
PENDING,RUNNING, orDONE.final -
statusMessage
→ Input<
String> -
An optional textual description of the current status of the operation.
final
-
targetId
→ Input<
String> -
The unique target ID, which identifies a specific incarnation of the target resource.
final
-
targetLink
→ Input<
String> -
The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
final
-
user
→ Input<
String> -
User who requested the operation, for example:
user@example.comoralice_smith_identifier (global/workforcePools/example-com-us-employees).final -
warnings
→ Input<
List< OperationWarningsItemResponseDeploymentmanagerV2> > -
If warning messages are generated during processing of the operation, this field will be populated.
final
-
zone
→ Input<
String> -
The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited