[BindServiceMethod(typeof(Environments), "BindService")]
public abstract class EnvironmentsBase
Base class for server-side implementations of Environments
Namespace
Google.Cloud.Orchestration.Airflow.Service.V1Assembly
Google.Cloud.Orchestration.Airflow.Service.V1.dll
Methods
CreateEnvironment(CreateEnvironmentRequest, ServerCallContext)
public virtual Task<Operation> CreateEnvironment(CreateEnvironmentRequest request, ServerCallContext context)
Create a new environment.
Parameters | |
---|---|
Name | Description |
request |
CreateEnvironmentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
DeleteEnvironment(DeleteEnvironmentRequest, ServerCallContext)
public virtual Task<Operation> DeleteEnvironment(DeleteEnvironmentRequest request, ServerCallContext context)
Delete an environment.
Parameters | |
---|---|
Name | Description |
request |
DeleteEnvironmentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
GetEnvironment(GetEnvironmentRequest, ServerCallContext)
public virtual Task<Environment> GetEnvironment(GetEnvironmentRequest request, ServerCallContext context)
Get an existing environment.
Parameters | |
---|---|
Name | Description |
request |
GetEnvironmentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Environment> |
The response to send back to the client (wrapped by a task). |
ListEnvironments(ListEnvironmentsRequest, ServerCallContext)
public virtual Task<ListEnvironmentsResponse> ListEnvironments(ListEnvironmentsRequest request, ServerCallContext context)
List environments.
Parameters | |
---|---|
Name | Description |
request |
ListEnvironmentsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListEnvironmentsResponse> |
The response to send back to the client (wrapped by a task). |
UpdateEnvironment(UpdateEnvironmentRequest, ServerCallContext)
public virtual Task<Operation> UpdateEnvironment(UpdateEnvironmentRequest request, ServerCallContext context)
Update an environment.
Parameters | |
---|---|
Name | Description |
request |
UpdateEnvironmentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |