GDC Hardware Management v1alpha API - Class GDCHardwareManagement.GDCHardwareManagementBase (1.0.0-alpha02)

[BindServiceMethod(typeof(GDCHardwareManagement), "BindService")]
public abstract class GDCHardwareManagement.GDCHardwareManagementBase

Reference documentation and code samples for the GDC Hardware Management v1alpha API class GDCHardwareManagement.GDCHardwareManagementBase.

Base class for server-side implementations of GDCHardwareManagement

Inheritance

object > GDCHardwareManagement.GDCHardwareManagementBase

Namespace

Google.Cloud.GdcHardwareManagement.V1Alpha

Assembly

Google.Cloud.GdcHardwareManagement.V1Alpha.dll

Methods

CreateComment(CreateCommentRequest, ServerCallContext)

public virtual Task<Operation> CreateComment(CreateCommentRequest request, ServerCallContext context)

Creates a new comment on an order.

Parameters
Name Description
request CreateCommentRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateHardware(CreateHardwareRequest, ServerCallContext)

public virtual Task<Operation> CreateHardware(CreateHardwareRequest request, ServerCallContext context)

Creates new hardware in a given project and location.

Parameters
Name Description
request CreateHardwareRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateHardwareGroup(CreateHardwareGroupRequest, ServerCallContext)

public virtual Task<Operation> CreateHardwareGroup(CreateHardwareGroupRequest request, ServerCallContext context)

Creates a new hardware group in a given order.

Parameters
Name Description
request CreateHardwareGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateOrder(CreateOrderRequest, ServerCallContext)

public virtual Task<Operation> CreateOrder(CreateOrderRequest request, ServerCallContext context)

Creates a new order in a given project and location.

Parameters
Name Description
request CreateOrderRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateSite(CreateSiteRequest, ServerCallContext)

public virtual Task<Operation> CreateSite(CreateSiteRequest request, ServerCallContext context)

Creates a new site in a given project and location.

Parameters
Name Description
request CreateSiteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateZone(CreateZoneRequest, ServerCallContext)

public virtual Task<Operation> CreateZone(CreateZoneRequest request, ServerCallContext context)

Creates a new zone in a given project and location.

Parameters
Name Description
request CreateZoneRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteHardware(DeleteHardwareRequest, ServerCallContext)

public virtual Task<Operation> DeleteHardware(DeleteHardwareRequest request, ServerCallContext context)

Deletes hardware.

Parameters
Name Description
request DeleteHardwareRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteHardwareGroup(DeleteHardwareGroupRequest, ServerCallContext)

public virtual Task<Operation> DeleteHardwareGroup(DeleteHardwareGroupRequest request, ServerCallContext context)

Deletes a hardware group.

Parameters
Name Description
request DeleteHardwareGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteOrder(DeleteOrderRequest, ServerCallContext)

public virtual Task<Operation> DeleteOrder(DeleteOrderRequest request, ServerCallContext context)

Deletes an order.

Parameters
Name Description
request DeleteOrderRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteZone(DeleteZoneRequest, ServerCallContext)

public virtual Task<Operation> DeleteZone(DeleteZoneRequest request, ServerCallContext context)

Deletes a zone.

Parameters
Name Description
request DeleteZoneRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetChangeLogEntry(GetChangeLogEntryRequest, ServerCallContext)

public virtual Task<ChangeLogEntry> GetChangeLogEntry(GetChangeLogEntryRequest request, ServerCallContext context)

Gets details of a change to an order.

Parameters
Name Description
request GetChangeLogEntryRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskChangeLogEntry

The response to send back to the client (wrapped by a task).

GetComment(GetCommentRequest, ServerCallContext)

public virtual Task<Comment> GetComment(GetCommentRequest request, ServerCallContext context)

Gets the content of a comment.

Parameters
Name Description
request GetCommentRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskComment

The response to send back to the client (wrapped by a task).

GetHardware(GetHardwareRequest, ServerCallContext)

public virtual Task<Hardware> GetHardware(GetHardwareRequest request, ServerCallContext context)

Gets hardware details.

Parameters
Name Description
request GetHardwareRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskHardware

The response to send back to the client (wrapped by a task).

GetHardwareGroup(GetHardwareGroupRequest, ServerCallContext)

public virtual Task<HardwareGroup> GetHardwareGroup(GetHardwareGroupRequest request, ServerCallContext context)

Gets details of a hardware group.

Parameters
Name Description
request GetHardwareGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskHardwareGroup

The response to send back to the client (wrapped by a task).

GetOrder(GetOrderRequest, ServerCallContext)

public virtual Task<Order> GetOrder(GetOrderRequest request, ServerCallContext context)

Gets details of an order.

Parameters
Name Description
request GetOrderRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOrder

The response to send back to the client (wrapped by a task).

GetSite(GetSiteRequest, ServerCallContext)

public virtual Task<Site> GetSite(GetSiteRequest request, ServerCallContext context)

Gets details of a site.

Parameters
Name Description
request GetSiteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSite

The response to send back to the client (wrapped by a task).

GetSku(GetSkuRequest, ServerCallContext)

public virtual Task<Sku> GetSku(GetSkuRequest request, ServerCallContext context)

Gets details of an SKU.

Parameters
Name Description
request GetSkuRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskSku

The response to send back to the client (wrapped by a task).

GetZone(GetZoneRequest, ServerCallContext)

public virtual Task<Zone> GetZone(GetZoneRequest request, ServerCallContext context)

Gets details of a zone.

Parameters
Name Description
request GetZoneRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskZone

The response to send back to the client (wrapped by a task).

ListChangeLogEntries(ListChangeLogEntriesRequest, ServerCallContext)

public virtual Task<ListChangeLogEntriesResponse> ListChangeLogEntries(ListChangeLogEntriesRequest request, ServerCallContext context)

Lists the changes made to an order.

Parameters
Name Description
request ListChangeLogEntriesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListChangeLogEntriesResponse

The response to send back to the client (wrapped by a task).

ListComments(ListCommentsRequest, ServerCallContext)

public virtual Task<ListCommentsResponse> ListComments(ListCommentsRequest request, ServerCallContext context)

Lists the comments on an order.

Parameters
Name Description
request ListCommentsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListCommentsResponse

The response to send back to the client (wrapped by a task).

ListHardware(ListHardwareRequest, ServerCallContext)

public virtual Task<ListHardwareResponse> ListHardware(ListHardwareRequest request, ServerCallContext context)

Lists hardware in a given project and location.

Parameters
Name Description
request ListHardwareRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListHardwareResponse

The response to send back to the client (wrapped by a task).

ListHardwareGroups(ListHardwareGroupsRequest, ServerCallContext)

public virtual Task<ListHardwareGroupsResponse> ListHardwareGroups(ListHardwareGroupsRequest request, ServerCallContext context)

Lists hardware groups in a given order.

Parameters
Name Description
request ListHardwareGroupsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListHardwareGroupsResponse

The response to send back to the client (wrapped by a task).

ListOrders(ListOrdersRequest, ServerCallContext)

public virtual Task<ListOrdersResponse> ListOrders(ListOrdersRequest request, ServerCallContext context)

Lists orders in a given project and location.

Parameters
Name Description
request ListOrdersRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListOrdersResponse

The response to send back to the client (wrapped by a task).

ListSites(ListSitesRequest, ServerCallContext)

public virtual Task<ListSitesResponse> ListSites(ListSitesRequest request, ServerCallContext context)

Lists sites in a given project and location.

Parameters
Name Description
request ListSitesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListSitesResponse

The response to send back to the client (wrapped by a task).

ListSkus(ListSkusRequest, ServerCallContext)

public virtual Task<ListSkusResponse> ListSkus(ListSkusRequest request, ServerCallContext context)

Lists SKUs for a given project and location.

Parameters
Name Description
request ListSkusRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListSkusResponse

The response to send back to the client (wrapped by a task).

ListZones(ListZonesRequest, ServerCallContext)

public virtual Task<ListZonesResponse> ListZones(ListZonesRequest request, ServerCallContext context)

Lists zones in a given project and location.

Parameters
Name Description
request ListZonesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListZonesResponse

The response to send back to the client (wrapped by a task).

RecordActionOnComment(RecordActionOnCommentRequest, ServerCallContext)

public virtual Task<Comment> RecordActionOnComment(RecordActionOnCommentRequest request, ServerCallContext context)

Record Action on a Comment. If the Action specified in the request is READ, the viewed time in the comment is set to the time the request was received. If the comment is already marked as read, subsequent calls will be ignored. If the Action is UNREAD, the viewed time is cleared from the comment.

Parameters
Name Description
request RecordActionOnCommentRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskComment

The response to send back to the client (wrapped by a task).

SignalZoneState(SignalZoneStateRequest, ServerCallContext)

public virtual Task<Operation> SignalZoneState(SignalZoneStateRequest request, ServerCallContext context)

Signals the state of a zone.

Parameters
Name Description
request SignalZoneStateRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

SubmitOrder(SubmitOrderRequest, ServerCallContext)

public virtual Task<Operation> SubmitOrder(SubmitOrderRequest request, ServerCallContext context)

Submits an order.

Parameters
Name Description
request SubmitOrderRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateHardware(UpdateHardwareRequest, ServerCallContext)

public virtual Task<Operation> UpdateHardware(UpdateHardwareRequest request, ServerCallContext context)

Updates hardware parameters.

Parameters
Name Description
request UpdateHardwareRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateHardwareGroup(UpdateHardwareGroupRequest, ServerCallContext)

public virtual Task<Operation> UpdateHardwareGroup(UpdateHardwareGroupRequest request, ServerCallContext context)

Updates the parameters of a hardware group.

Parameters
Name Description
request UpdateHardwareGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateOrder(UpdateOrderRequest, ServerCallContext)

public virtual Task<Operation> UpdateOrder(UpdateOrderRequest request, ServerCallContext context)

Updates the parameters of an order.

Parameters
Name Description
request UpdateOrderRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateSite(UpdateSiteRequest, ServerCallContext)

public virtual Task<Operation> UpdateSite(UpdateSiteRequest request, ServerCallContext context)

Updates the parameters of a site.

Parameters
Name Description
request UpdateSiteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateZone(UpdateZoneRequest, ServerCallContext)

public virtual Task<Operation> UpdateZone(UpdateZoneRequest request, ServerCallContext context)

Updates the parameters of a zone.

Parameters
Name Description
request UpdateZoneRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).