API hub v1 API - Class RuntimeProjectAttachmentService.RuntimeProjectAttachmentServiceClient (1.0.0-beta01)

public class RuntimeProjectAttachmentService.RuntimeProjectAttachmentServiceClient : ClientBase<RuntimeProjectAttachmentService.RuntimeProjectAttachmentServiceClient>

Reference documentation and code samples for the API hub v1 API class RuntimeProjectAttachmentService.RuntimeProjectAttachmentServiceClient.

Client for RuntimeProjectAttachmentService

Inheritance

object > ClientBase > ClientBaseRuntimeProjectAttachmentServiceRuntimeProjectAttachmentServiceClient > RuntimeProjectAttachmentService.RuntimeProjectAttachmentServiceClient

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

RuntimeProjectAttachmentServiceClient()

protected RuntimeProjectAttachmentServiceClient()

Protected parameterless constructor to allow creation of test doubles.

RuntimeProjectAttachmentServiceClient(CallInvoker)

public RuntimeProjectAttachmentServiceClient(CallInvoker callInvoker)

Creates a new client for RuntimeProjectAttachmentService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

RuntimeProjectAttachmentServiceClient(ChannelBase)

public RuntimeProjectAttachmentServiceClient(ChannelBase channel)

Creates a new client for RuntimeProjectAttachmentService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

RuntimeProjectAttachmentServiceClient(ClientBaseConfiguration)

protected RuntimeProjectAttachmentServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateRuntimeProjectAttachment(CreateRuntimeProjectAttachmentRequest, CallOptions)

public virtual RuntimeProjectAttachment CreateRuntimeProjectAttachment(CreateRuntimeProjectAttachmentRequest request, CallOptions options)

Attaches a runtime project to the host project.

Parameters
Name Description
request CreateRuntimeProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
RuntimeProjectAttachment

The response received from the server.

CreateRuntimeProjectAttachment(CreateRuntimeProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual RuntimeProjectAttachment CreateRuntimeProjectAttachment(CreateRuntimeProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Attaches a runtime project to the host project.

Parameters
Name Description
request CreateRuntimeProjectAttachmentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
RuntimeProjectAttachment

The response received from the server.

CreateRuntimeProjectAttachmentAsync(CreateRuntimeProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<RuntimeProjectAttachment> CreateRuntimeProjectAttachmentAsync(CreateRuntimeProjectAttachmentRequest request, CallOptions options)

Attaches a runtime project to the host project.

Parameters
Name Description
request CreateRuntimeProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallRuntimeProjectAttachment

The call object.

CreateRuntimeProjectAttachmentAsync(CreateRuntimeProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<RuntimeProjectAttachment> CreateRuntimeProjectAttachmentAsync(CreateRuntimeProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Attaches a runtime project to the host project.

Parameters
Name Description
request CreateRuntimeProjectAttachmentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallRuntimeProjectAttachment

The call object.

DeleteRuntimeProjectAttachment(DeleteRuntimeProjectAttachmentRequest, CallOptions)

public virtual Empty DeleteRuntimeProjectAttachment(DeleteRuntimeProjectAttachmentRequest request, CallOptions options)

Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.

Parameters
Name Description
request DeleteRuntimeProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteRuntimeProjectAttachment(DeleteRuntimeProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteRuntimeProjectAttachment(DeleteRuntimeProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.

Parameters
Name Description
request DeleteRuntimeProjectAttachmentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteRuntimeProjectAttachmentAsync(DeleteRuntimeProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteRuntimeProjectAttachmentAsync(DeleteRuntimeProjectAttachmentRequest request, CallOptions options)

Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.

Parameters
Name Description
request DeleteRuntimeProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteRuntimeProjectAttachmentAsync(DeleteRuntimeProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteRuntimeProjectAttachmentAsync(DeleteRuntimeProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.

Parameters
Name Description
request DeleteRuntimeProjectAttachmentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

GetRuntimeProjectAttachment(GetRuntimeProjectAttachmentRequest, CallOptions)

public virtual RuntimeProjectAttachment GetRuntimeProjectAttachment(GetRuntimeProjectAttachmentRequest request, CallOptions options)

Gets a runtime project attachment.

Parameters
Name Description
request GetRuntimeProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
RuntimeProjectAttachment

The response received from the server.

GetRuntimeProjectAttachment(GetRuntimeProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual RuntimeProjectAttachment GetRuntimeProjectAttachment(GetRuntimeProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a runtime project attachment.

Parameters
Name Description
request GetRuntimeProjectAttachmentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
RuntimeProjectAttachment

The response received from the server.

GetRuntimeProjectAttachmentAsync(GetRuntimeProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<RuntimeProjectAttachment> GetRuntimeProjectAttachmentAsync(GetRuntimeProjectAttachmentRequest request, CallOptions options)

Gets a runtime project attachment.

Parameters
Name Description
request GetRuntimeProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallRuntimeProjectAttachment

The call object.

GetRuntimeProjectAttachmentAsync(GetRuntimeProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<RuntimeProjectAttachment> GetRuntimeProjectAttachmentAsync(GetRuntimeProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a runtime project attachment.

Parameters
Name Description
request GetRuntimeProjectAttachmentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallRuntimeProjectAttachment

The call object.

ListRuntimeProjectAttachments(ListRuntimeProjectAttachmentsRequest, CallOptions)

public virtual ListRuntimeProjectAttachmentsResponse ListRuntimeProjectAttachments(ListRuntimeProjectAttachmentsRequest request, CallOptions options)

List runtime projects attached to the host project.

Parameters
Name Description
request ListRuntimeProjectAttachmentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListRuntimeProjectAttachmentsResponse

The response received from the server.

ListRuntimeProjectAttachments(ListRuntimeProjectAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListRuntimeProjectAttachmentsResponse ListRuntimeProjectAttachments(ListRuntimeProjectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List runtime projects attached to the host project.

Parameters
Name Description
request ListRuntimeProjectAttachmentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListRuntimeProjectAttachmentsResponse

The response received from the server.

ListRuntimeProjectAttachmentsAsync(ListRuntimeProjectAttachmentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListRuntimeProjectAttachmentsResponse> ListRuntimeProjectAttachmentsAsync(ListRuntimeProjectAttachmentsRequest request, CallOptions options)

List runtime projects attached to the host project.

Parameters
Name Description
request ListRuntimeProjectAttachmentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListRuntimeProjectAttachmentsResponse

The call object.

ListRuntimeProjectAttachmentsAsync(ListRuntimeProjectAttachmentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListRuntimeProjectAttachmentsResponse> ListRuntimeProjectAttachmentsAsync(ListRuntimeProjectAttachmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List runtime projects attached to the host project.

Parameters
Name Description
request ListRuntimeProjectAttachmentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListRuntimeProjectAttachmentsResponse

The call object.

LookupRuntimeProjectAttachment(LookupRuntimeProjectAttachmentRequest, CallOptions)

public virtual LookupRuntimeProjectAttachmentResponse LookupRuntimeProjectAttachment(LookupRuntimeProjectAttachmentRequest request, CallOptions options)

Look up a runtime project attachment. This API can be called in the context of any project.

Parameters
Name Description
request LookupRuntimeProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
LookupRuntimeProjectAttachmentResponse

The response received from the server.

LookupRuntimeProjectAttachment(LookupRuntimeProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual LookupRuntimeProjectAttachmentResponse LookupRuntimeProjectAttachment(LookupRuntimeProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Look up a runtime project attachment. This API can be called in the context of any project.

Parameters
Name Description
request LookupRuntimeProjectAttachmentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
LookupRuntimeProjectAttachmentResponse

The response received from the server.

LookupRuntimeProjectAttachmentAsync(LookupRuntimeProjectAttachmentRequest, CallOptions)

public virtual AsyncUnaryCall<LookupRuntimeProjectAttachmentResponse> LookupRuntimeProjectAttachmentAsync(LookupRuntimeProjectAttachmentRequest request, CallOptions options)

Look up a runtime project attachment. This API can be called in the context of any project.

Parameters
Name Description
request LookupRuntimeProjectAttachmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallLookupRuntimeProjectAttachmentResponse

The call object.

LookupRuntimeProjectAttachmentAsync(LookupRuntimeProjectAttachmentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<LookupRuntimeProjectAttachmentResponse> LookupRuntimeProjectAttachmentAsync(LookupRuntimeProjectAttachmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Look up a runtime project attachment. This API can be called in the context of any project.

Parameters
Name Description
request LookupRuntimeProjectAttachmentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallLookupRuntimeProjectAttachmentResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override RuntimeProjectAttachmentService.RuntimeProjectAttachmentServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
RuntimeProjectAttachmentServiceRuntimeProjectAttachmentServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.ApiHub.V1.RuntimeProjectAttachmentService.RuntimeProjectAttachmentServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)