-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
114 additions
and
1 deletion.
There are no files selected for viewing
Binary file modified
BIN
+137 KB
(110%)
...Operations/Packages/com.uralstech.ucloud.operations/Documentation~/APIReferenceManual.pdf
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
...ions/Packages/com.uralstech.ucloud.operations/Runtime/Scripts/Data/Operations/Delete.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
...lstech.ucloud.operations/Runtime/Scripts/Data/Operations/Delete/OperationDeleteRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
namespace Uralstech.UCloud.Operations | ||
{ | ||
/// <summary> | ||
/// Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. | ||
/// </summary> | ||
public class OperationDeleteRequest : IOperationsDeleteRequest | ||
{ | ||
/// <summary> | ||
/// The resource name of the operation to delete. | ||
/// </summary> | ||
public string OperationName; | ||
|
||
/// <inheritdoc/> | ||
public string BaseServiceUri { get; set; } = "https://servicemanagement.googleapis.com/v1"; | ||
|
||
/// <inheritdoc/> | ||
public string GetEndpointUri() | ||
{ | ||
return $"{BaseServiceUri}/{OperationName}"; | ||
} | ||
|
||
/// <summary> | ||
/// Creates a new <see cref="OperationDeleteRequest"/>. | ||
/// </summary> | ||
/// <param name="operationName">The resource name of the operation to delete.</param> | ||
public OperationDeleteRequest(string operationName) | ||
{ | ||
OperationName = operationName; | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...h.ucloud.operations/Runtime/Scripts/Data/Operations/Delete/OperationDeleteRequest.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
...com.uralstech.ucloud.operations/Runtime/Scripts/Data/Requests/IOperationsDeleteRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Uralstech.UCloud.Operations | ||
{ | ||
/// <summary> | ||
/// All google.longrunning API DELETE requests must inherit from this interface. | ||
/// </summary> | ||
public interface IOperationsDeleteRequest : IOperationsRequest { } | ||
} |
11 changes: 11 additions & 0 deletions
11
...ralstech.ucloud.operations/Runtime/Scripts/Data/Requests/IOperationsDeleteRequest.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters