Class ProposalServiceClientImpl
ProposalService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ProposalServiceClientImpl : ProposalServiceClient
Remarks
Provides methods for handling Proposal objects.
Constructors
ProposalServiceClientImpl(ProposalServiceClient, ProposalServiceSettings, ILogger)
Constructs a client wrapper for the ProposalService service, with the specified gRPC client and settings.
Declaration
public ProposalServiceClientImpl(ProposalService.ProposalServiceClient grpcClient, ProposalServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ProposalService.ProposalServiceClient | grpcClient | The underlying gRPC client. |
| ProposalServiceSettings | settings | The base ProposalServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ProposalService client
Declaration
public override ProposalService.ProposalServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| ProposalService.ProposalServiceClient |
Overrides
Methods
BatchArchiveProposals(BatchArchiveProposalsRequest, CallSettings)
Archives Proposal objects.
Declaration
public override BatchArchiveProposalsResponse BatchArchiveProposals(BatchArchiveProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchArchiveProposalsResponse | The RPC response. |
Overrides
BatchArchiveProposalsAsync(BatchArchiveProposalsRequest, CallSettings)
Archives Proposal objects.
Declaration
public override Task<BatchArchiveProposalsResponse> BatchArchiveProposalsAsync(BatchArchiveProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchArchiveProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchCreateProposals(BatchCreateProposalsRequest, CallSettings)
Creates Proposal objects.
Declaration
public override BatchCreateProposalsResponse BatchCreateProposals(BatchCreateProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchCreateProposalsResponse | The RPC response. |
Overrides
BatchCreateProposalsAsync(BatchCreateProposalsRequest, CallSettings)
Creates Proposal objects.
Declaration
public override Task<BatchCreateProposalsResponse> BatchCreateProposalsAsync(BatchCreateProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchDiscardDraftProposals(BatchDiscardDraftProposalsRequest, CallSettings)
Discards drafts, or revert local modifications, of Proposal objects.
Declaration
public override BatchDiscardDraftProposalsResponse BatchDiscardDraftProposals(BatchDiscardDraftProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDiscardDraftProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchDiscardDraftProposalsResponse | The RPC response. |
Overrides
BatchDiscardDraftProposalsAsync(BatchDiscardDraftProposalsRequest, CallSettings)
Discards drafts, or revert local modifications, of Proposal objects.
Declaration
public override Task<BatchDiscardDraftProposalsResponse> BatchDiscardDraftProposalsAsync(BatchDiscardDraftProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDiscardDraftProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchDiscardDraftProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchPauseProposals(BatchPauseProposalsRequest, CallSettings)
Pauses Proposal objects.
Declaration
public override BatchPauseProposalsResponse BatchPauseProposals(BatchPauseProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchPauseProposalsResponse | The RPC response. |
Overrides
BatchPauseProposalsAsync(BatchPauseProposalsRequest, CallSettings)
Pauses Proposal objects.
Declaration
public override Task<BatchPauseProposalsResponse> BatchPauseProposalsAsync(BatchPauseProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchPauseProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchPushToOrderProposals(BatchPushToOrderProposalsRequest, CallSettings)
Push changes on Proposals to corresponding Orders, after negotiations
have been finalized.
Declaration
public override BatchPushToOrderProposalsResponse BatchPushToOrderProposals(BatchPushToOrderProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPushToOrderProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchPushToOrderProposalsResponse | The RPC response. |
Overrides
BatchPushToOrderProposalsAsync(BatchPushToOrderProposalsRequest, CallSettings)
Push changes on Proposals to corresponding Orders, after negotiations
have been finalized.
Declaration
public override Task<BatchPushToOrderProposalsResponse> BatchPushToOrderProposalsAsync(BatchPushToOrderProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPushToOrderProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchPushToOrderProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchRedraftProposals(BatchRedraftProposalsRequest, CallSettings)
Redrafts Proposal objects for negotiation.
Declaration
public override BatchRedraftProposalsResponse BatchRedraftProposals(BatchRedraftProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRedraftProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchRedraftProposalsResponse | The RPC response. |
Overrides
BatchRedraftProposalsAsync(BatchRedraftProposalsRequest, CallSettings)
Redrafts Proposal objects for negotiation.
Declaration
public override Task<BatchRedraftProposalsResponse> BatchRedraftProposalsAsync(BatchRedraftProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRedraftProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchRedraftProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchRequestBuyerAcceptProposals(BatchRequestBuyerAcceptProposalsRequest, CallSettings)
Requests buyer acceptance for Proposal objects.
Declaration
public override BatchRequestBuyerAcceptProposalsResponse BatchRequestBuyerAcceptProposals(BatchRequestBuyerAcceptProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRequestBuyerAcceptProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchRequestBuyerAcceptProposalsResponse | The RPC response. |
Overrides
BatchRequestBuyerAcceptProposalsAsync(BatchRequestBuyerAcceptProposalsRequest, CallSettings)
Requests buyer acceptance for Proposal objects.
Declaration
public override Task<BatchRequestBuyerAcceptProposalsResponse> BatchRequestBuyerAcceptProposalsAsync(BatchRequestBuyerAcceptProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRequestBuyerAcceptProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchRequestBuyerAcceptProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchRequestBuyerReviewProposals(BatchRequestBuyerReviewProposalsRequest, CallSettings)
Requests buyer review for Proposal objects.
Declaration
public override BatchRequestBuyerReviewProposalsResponse BatchRequestBuyerReviewProposals(BatchRequestBuyerReviewProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRequestBuyerReviewProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchRequestBuyerReviewProposalsResponse | The RPC response. |
Overrides
BatchRequestBuyerReviewProposalsAsync(BatchRequestBuyerReviewProposalsRequest, CallSettings)
Requests buyer review for Proposal objects.
Declaration
public override Task<BatchRequestBuyerReviewProposalsResponse> BatchRequestBuyerReviewProposalsAsync(BatchRequestBuyerReviewProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRequestBuyerReviewProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchRequestBuyerReviewProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchReserveProposals(BatchReserveProposalsRequest, CallSettings)
Reserves inventory for Proposal objects.
Declaration
public override BatchReserveProposalsResponse BatchReserveProposals(BatchReserveProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchReserveProposalsResponse | The RPC response. |
Overrides
BatchReserveProposalsAsync(BatchReserveProposalsRequest, CallSettings)
Reserves inventory for Proposal objects.
Declaration
public override Task<BatchReserveProposalsResponse> BatchReserveProposalsAsync(BatchReserveProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchReserveProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchResumeProposals(BatchResumeProposalsRequest, CallSettings)
Resumes Proposal objects.
Declaration
public override BatchResumeProposalsResponse BatchResumeProposals(BatchResumeProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchResumeProposalsResponse | The RPC response. |
Overrides
BatchResumeProposalsAsync(BatchResumeProposalsRequest, CallSettings)
Resumes Proposal objects.
Declaration
public override Task<BatchResumeProposalsResponse> BatchResumeProposalsAsync(BatchResumeProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchResumeProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchTerminateProposals(BatchTerminateProposalsRequest, CallSettings)
Terminates negotiation on Proposal objects.
Declaration
public override BatchTerminateProposalsResponse BatchTerminateProposals(BatchTerminateProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchTerminateProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchTerminateProposalsResponse | The RPC response. |
Overrides
BatchTerminateProposalsAsync(BatchTerminateProposalsRequest, CallSettings)
Terminates negotiation on Proposal objects.
Declaration
public override Task<BatchTerminateProposalsResponse> BatchTerminateProposalsAsync(BatchTerminateProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchTerminateProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchTerminateProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchUnarchiveProposals(BatchUnarchiveProposalsRequest, CallSettings)
Unarchives Proposal objects.
Declaration
public override BatchUnarchiveProposalsResponse BatchUnarchiveProposals(BatchUnarchiveProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchUnarchiveProposalsResponse | The RPC response. |
Overrides
BatchUnarchiveProposalsAsync(BatchUnarchiveProposalsRequest, CallSettings)
Unarchives Proposal objects.
Declaration
public override Task<BatchUnarchiveProposalsResponse> BatchUnarchiveProposalsAsync(BatchUnarchiveProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchUnarchiveProposalsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateProposals(BatchUpdateProposalsRequest, CallSettings)
Batch updates Proposal objects.
Declaration
public override BatchUpdateProposalsResponse BatchUpdateProposals(BatchUpdateProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateProposalsResponse | The RPC response. |
Overrides
BatchUpdateProposalsAsync(BatchUpdateProposalsRequest, CallSettings)
Batch updates Proposal objects.
Declaration
public override Task<BatchUpdateProposalsResponse> BatchUpdateProposalsAsync(BatchUpdateProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateProposalsResponse> | A Task containing the RPC response. |
Overrides
CreateProposal(CreateProposalRequest, CallSettings)
Creates a Proposal object.
Declaration
public override Proposal CreateProposal(CreateProposalRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateProposalRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Proposal | The RPC response. |
Overrides
CreateProposalAsync(CreateProposalRequest, CallSettings)
Creates a Proposal object.
Declaration
public override Task<Proposal> CreateProposalAsync(CreateProposalRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateProposalRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Proposal> | A Task containing the RPC response. |
Overrides
FetchMarketplaceComments(FetchMarketplaceCommentsRequest, CallSettings)
Fetches MarketplaceComments made on Proposals.
Declaration
public override PagedEnumerable<FetchMarketplaceCommentsResponse, MarketplaceComment> FetchMarketplaceComments(FetchMarketplaceCommentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FetchMarketplaceCommentsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<FetchMarketplaceCommentsResponse, MarketplaceComment> | A pageable sequence of MarketplaceComment resources. |
Overrides
FetchMarketplaceCommentsAsync(FetchMarketplaceCommentsRequest, CallSettings)
Fetches MarketplaceComments made on Proposals.
Declaration
public override PagedAsyncEnumerable<FetchMarketplaceCommentsResponse, MarketplaceComment> FetchMarketplaceCommentsAsync(FetchMarketplaceCommentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FetchMarketplaceCommentsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<FetchMarketplaceCommentsResponse, MarketplaceComment> | A pageable asynchronous sequence of MarketplaceComment resources. |
Overrides
GetProposal(GetProposalRequest, CallSettings)
Retrieves a Proposal object.
Declaration
public override Proposal GetProposal(GetProposalRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetProposalRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Proposal | The RPC response. |
Overrides
GetProposalAsync(GetProposalRequest, CallSettings)
Retrieves a Proposal object.
Declaration
public override Task<Proposal> GetProposalAsync(GetProposalRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetProposalRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Proposal> | A Task containing the RPC response. |
Overrides
ListProposals(ListProposalsRequest, CallSettings)
Lists Proposal objects.
Declaration
public override PagedEnumerable<ListProposalsResponse, Proposal> ListProposals(ListProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListProposalsResponse, Proposal> | A pageable sequence of Proposal resources. |
Overrides
ListProposalsAsync(ListProposalsRequest, CallSettings)
Lists Proposal objects.
Declaration
public override PagedAsyncEnumerable<ListProposalsResponse, Proposal> ListProposalsAsync(ListProposalsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListProposalsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListProposalsResponse, Proposal> | A pageable asynchronous sequence of Proposal resources. |
Overrides
UpdateProposal(UpdateProposalRequest, CallSettings)
Updates a Proposal object.
Declaration
public override Proposal UpdateProposal(UpdateProposalRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateProposalRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Proposal | The RPC response. |
Overrides
UpdateProposalAsync(UpdateProposalRequest, CallSettings)
Updates a Proposal object.
Declaration
public override Task<Proposal> UpdateProposalAsync(UpdateProposalRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateProposalRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<Proposal> | A Task containing the RPC response. |