public sealed class HostProjectRegistrationServiceClientImpl : HostProjectRegistrationServiceClientReference documentation and code samples for the API hub v1 API class HostProjectRegistrationServiceClientImpl.
HostProjectRegistrationService client wrapper implementation, for convenient use.
Inheritance
object > HostProjectRegistrationServiceClient > HostProjectRegistrationServiceClientImplNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Remarks
This service is used for managing the host project registrations.
Constructors
HostProjectRegistrationServiceClientImpl(HostProjectRegistrationServiceClient, HostProjectRegistrationServiceSettings, ILogger)
public HostProjectRegistrationServiceClientImpl(HostProjectRegistrationService.HostProjectRegistrationServiceClient grpcClient, HostProjectRegistrationServiceSettings settings, ILogger logger)Constructs a client wrapper for the HostProjectRegistrationService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
| grpcClient | HostProjectRegistrationServiceHostProjectRegistrationServiceClientThe underlying gRPC client. | 
| settings | HostProjectRegistrationServiceSettingsThe base HostProjectRegistrationServiceSettings used within this client. | 
| logger | ILoggerOptional ILogger to use within this client. | 
Properties
GrpcClient
public override HostProjectRegistrationService.HostProjectRegistrationServiceClient GrpcClient { get; }The underlying gRPC HostProjectRegistrationService client
| Property Value | |
|---|---|
| Type | Description | 
| HostProjectRegistrationServiceHostProjectRegistrationServiceClient | |
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description | 
| LocationsClient | |
Methods
CreateHostProjectRegistration(CreateHostProjectRegistrationRequest, CallSettings)
public override HostProjectRegistration CreateHostProjectRegistration(CreateHostProjectRegistrationRequest request, CallSettings callSettings = null)Create a host project registration. A Google cloud project can be registered as a host project if it is not attached as a runtime project to another host project. A project can be registered as a host project only once. Subsequent register calls for the same project will fail.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateHostProjectRegistrationRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| HostProjectRegistration | The RPC response. | 
CreateHostProjectRegistrationAsync(CreateHostProjectRegistrationRequest, CallSettings)
public override Task<HostProjectRegistration> CreateHostProjectRegistrationAsync(CreateHostProjectRegistrationRequest request, CallSettings callSettings = null)Create a host project registration. A Google cloud project can be registered as a host project if it is not attached as a runtime project to another host project. A project can be registered as a host project only once. Subsequent register calls for the same project will fail.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateHostProjectRegistrationRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskHostProjectRegistration | A Task containing the RPC response. | 
GetHostProjectRegistration(GetHostProjectRegistrationRequest, CallSettings)
public override HostProjectRegistration GetHostProjectRegistration(GetHostProjectRegistrationRequest request, CallSettings callSettings = null)Get a host project registration.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetHostProjectRegistrationRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| HostProjectRegistration | The RPC response. | 
GetHostProjectRegistrationAsync(GetHostProjectRegistrationRequest, CallSettings)
public override Task<HostProjectRegistration> GetHostProjectRegistrationAsync(GetHostProjectRegistrationRequest request, CallSettings callSettings = null)Get a host project registration.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetHostProjectRegistrationRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskHostProjectRegistration | A Task containing the RPC response. | 
ListHostProjectRegistrations(ListHostProjectRegistrationsRequest, CallSettings)
public override PagedEnumerable<ListHostProjectRegistrationsResponse, HostProjectRegistration> ListHostProjectRegistrations(ListHostProjectRegistrationsRequest request, CallSettings callSettings = null)Lists host project registrations.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListHostProjectRegistrationsRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedEnumerableListHostProjectRegistrationsResponseHostProjectRegistration | A pageable sequence of HostProjectRegistration resources. | 
ListHostProjectRegistrationsAsync(ListHostProjectRegistrationsRequest, CallSettings)
public override PagedAsyncEnumerable<ListHostProjectRegistrationsResponse, HostProjectRegistration> ListHostProjectRegistrationsAsync(ListHostProjectRegistrationsRequest request, CallSettings callSettings = null)Lists host project registrations.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListHostProjectRegistrationsRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedAsyncEnumerableListHostProjectRegistrationsResponseHostProjectRegistration | A pageable asynchronous sequence of HostProjectRegistration resources. |