@@ -18,7 +18,7 @@ package google.cloud.baremetalsolution.v2;
1818
1919import "google/api/annotations.proto" ;
2020import "google/api/client.proto" ;
21- import "google/cloud/baremetalsolution/v2/common .proto" ;
21+ import "google/api/field_behavior .proto" ;
2222import "google/cloud/baremetalsolution/v2/instance.proto" ;
2323import "google/cloud/baremetalsolution/v2/lun.proto" ;
2424import "google/cloud/baremetalsolution/v2/network.proto" ;
@@ -30,6 +30,7 @@ import "google/cloud/baremetalsolution/v2/volume.proto";
3030import "google/cloud/baremetalsolution/v2/volume_snapshot.proto" ;
3131import "google/longrunning/operations.proto" ;
3232import "google/protobuf/empty.proto" ;
33+ import "google/protobuf/timestamp.proto" ;
3334
3435option csharp_namespace = "Google.Cloud.BareMetalSolution.V2" ;
3536option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb" ;
@@ -527,3 +528,36 @@ service BareMetalSolution {
527528 option (google.api.method_signature ) = "parent" ;
528529 }
529530}
531+
532+ // Represents the metadata from a long-running operation.
533+ message OperationMetadata {
534+ // Output only. The time the operation was created.
535+ google.protobuf.Timestamp create_time = 1
536+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
537+
538+ // Output only. The time the operation finished running.
539+ google.protobuf.Timestamp end_time = 2
540+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
541+
542+ // Output only. Server-defined resource path for the target of the operation.
543+ string target = 3 [(google.api.field_behavior ) = OUTPUT_ONLY ];
544+
545+ // Output only. Name of the action executed by the operation.
546+ string verb = 4 [(google.api.field_behavior ) = OUTPUT_ONLY ];
547+
548+ // Output only. Human-readable status of the operation, if any.
549+ string status_message = 5 [(google.api.field_behavior ) = OUTPUT_ONLY ];
550+
551+ // Output only. Identifies whether the user requested the cancellation
552+ // of the operation. Operations that have been successfully cancelled
553+ // have [Operation.error][] value with a
554+ // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
555+ // `Code.CANCELLED`.
556+ bool requested_cancellation = 6 [(google.api.field_behavior ) = OUTPUT_ONLY ];
557+
558+ // Output only. API version used with the operation.
559+ string api_version = 7 [(google.api.field_behavior ) = OUTPUT_ONLY ];
560+ }
561+
562+ // Response message from resetting a server.
563+ message ResetInstanceResponse {}
0 commit comments