Ejemplo n.º 1
0
 /// <summary>
 /// Checks whether an operation on a service should be allowed to proceed
 /// based on the configuration of the service and related policies. It must be
 /// called before the operation is executed.
 ///
 /// If feasible, the client should cache the check results and reuse them for
 /// 60 seconds. In case of any server errors, the client should rely on the
 /// cached results for much longer time to avoid outage.
 /// WARNING: There is general 60s delay for the configuration and policy
 /// propagation, therefore callers MUST NOT depend on the `Check` method having
 /// the latest policy information.
 ///
 /// NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has the size limit of 64KB.
 ///
 /// This method requires the `servicemanagement.services.check` permission
 /// on the specified service. For more information, see
 /// [Cloud IAM](https://cloud.google.com/iam).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <CheckResponse> CheckAsync(CheckRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_CheckRequest(ref request, ref callSettings);
     return(_callCheck.Async(request, callSettings));
 }
 /// <summary>
 /// Returns the requested campaign in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::Campaign> GetCampaignAsync(GetCampaignRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetCampaignRequest(ref request, ref callSettings);
     return(_callGetCampaign.Async(request, callSettings));
 }
 /// <summary>
 /// Creates, updates or removes asset group assets. Operation statuses are
 /// returned.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <MutateAssetGroupAssetsResponse> MutateAssetGroupAssetsAsync(MutateAssetGroupAssetsRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_MutateAssetGroupAssetsRequest(ref request, ref callSettings);
     return(_callMutateAssetGroupAssets.Async(request, callSettings));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Returns the requested user interest in full detail
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::UserInterest> GetUserInterestAsync(GetUserInterestRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetUserInterestRequest(ref request, ref callSettings);
     return(_callGetUserInterest.Async(request, callSettings));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Returns the Merchant Center link in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::MerchantCenterLink> GetMerchantCenterLinkAsync(GetMerchantCenterLinkRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetMerchantCenterLinkRequest(ref request, ref callSettings);
     return(_callGetMerchantCenterLink.Async(request, callSettings));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Returns the requested location view in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::LocationView> GetLocationViewAsync(GetLocationViewRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetLocationViewRequest(ref request, ref callSettings);
     return(_callGetLocationView.Async(request, callSettings));
 }
 /// <summary>
 /// Reports a URI suspected of containing phishing content to be reviewed. Once
 /// the report review is complete, its result can be found in the Cloud
 /// Security Command Center findings dashboard for Phishing Protection. If the
 /// result verifies the existence of malicious phishing content, the site will
 /// be added the to [Google's Social Engineering
 /// lists](https://support.google.com/webmasters/answer/6350487/) in order to
 /// protect users that could get exposed to this threat in the future.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <ReportPhishingResponse> ReportPhishingAsync(ReportPhishingRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_ReportPhishingRequest(ref request, ref callSettings);
     return(_callReportPhishing.Async(request, callSettings));
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Returns the requested customer feed in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::CustomerFeed> GetCustomerFeedAsync(GetCustomerFeedRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetCustomerFeedRequest(ref request, ref callSettings);
     return(_callGetCustomerFeed.Async(request, callSettings));
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Creates, updates, or removes customer feeds. Operation statuses are
 /// returned.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <MutateCustomerFeedsResponse> MutateCustomerFeedsAsync(MutateCustomerFeedsRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_MutateCustomerFeedsRequest(ref request, ref callSettings);
     return(_callMutateCustomerFeeds.Async(request, callSettings));
 }
 /// <summary>
 /// Processes the given conversion adjustments.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <UploadConversionAdjustmentsResponse> UploadConversionAdjustmentsAsync(UploadConversionAdjustmentsRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_UploadConversionAdjustmentsRequest(ref request, ref callSettings);
     return(_callUploadConversionAdjustments.Async(request, callSettings));
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Returns the requested feed mapping in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::FeedMapping> GetFeedMappingAsync(GetFeedMappingRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetFeedMappingRequest(ref request, ref callSettings);
     return(_callGetFeedMapping.Async(request, callSettings));
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Creates, updates, or removes seasonality adjustments.
 /// Operation statuses are returned.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <MutateBiddingSeasonalityAdjustmentsResponse> MutateBiddingSeasonalityAdjustmentsAsync(MutateBiddingSeasonalityAdjustmentsRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_MutateBiddingSeasonalityAdjustmentsRequest(ref request, ref callSettings);
     return(_callMutateBiddingSeasonalityAdjustments.Async(request, callSettings));
 }
 /// <summary>
 /// Returns the requested ad group bid modifier in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::AdGroupBidModifier> GetAdGroupBidModifierAsync(GetAdGroupBidModifierRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetAdGroupBidModifierRequest(ref request, ref callSettings);
     return(_callGetAdGroupBidModifier.Async(request, callSettings));
 }
 /// <summary>
 /// Returns the requested OS version constant in full detail.
 ///
 /// List of thrown errors:
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [HeaderError]()
 /// [InternalError]()
 /// [QuotaError]()
 /// [RequestError]()
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::OperatingSystemVersionConstant> GetOperatingSystemVersionConstantAsync(GetOperatingSystemVersionConstantRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetOperatingSystemVersionConstantRequest(ref request, ref callSettings);
     return(_callGetOperatingSystemVersionConstant.Async(request, callSettings));
 }
Ejemplo n.º 15
0
 /// <summary>
 /// Returns the requested change status in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::ChangeStatus> GetChangeStatusAsync(GetChangeStatusRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetChangeStatusRequest(ref request, ref callSettings);
     return(_callGetChangeStatus.Async(request, callSettings));
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Returns the specified accelerator type.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <AcceleratorType> GetAsync(GetAcceleratorTypeRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetAcceleratorTypeRequest(ref request, ref callSettings);
     return(_callGet.Async(request, callSettings));
 }
Ejemplo n.º 17
0
 /// <summary>
 /// Returns the requested Hotel Performance View in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::HotelPerformanceView> GetHotelPerformanceViewAsync(GetHotelPerformanceViewRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetHotelPerformanceViewRequest(ref request, ref callSettings);
     return(_callGetHotelPerformanceView.Async(request, callSettings));
 }
 /// <summary>
 /// Unregister an apiKey from using for predict method.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task DeletePredictionApiKeyRegistrationAsync(DeletePredictionApiKeyRegistrationRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_DeletePredictionApiKeyRegistrationRequest(ref request, ref callSettings);
     return(_callDeletePredictionApiKeyRegistration.Async(request, callSettings));
 }
Ejemplo n.º 19
0
 /// <summary>
 /// Attempts to allocate quota for the specified consumer. It should be called
 /// before the operation is executed.
 ///
 /// This method requires the `servicemanagement.services.quota`
 /// permission on the specified service. For more information, see
 /// [Cloud IAM](https://cloud.google.com/iam).
 ///
 /// **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
 /// `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
 /// reliability, the server may inject these errors to prohibit any hard
 /// dependency on the quota functionality.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <AllocateQuotaResponse> AllocateQuotaAsync(AllocateQuotaRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_AllocateQuotaRequest(ref request, ref callSettings);
     return(_callAllocateQuota.Async(request, callSettings));
 }
Ejemplo n.º 20
0
 /// <summary>
 /// Returns the requested paid organic search term view in full detail.
 ///
 /// List of thrown errors:
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [HeaderError]()
 /// [InternalError]()
 /// [QuotaError]()
 /// [RequestError]()
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::PaidOrganicSearchTermView> GetPaidOrganicSearchTermViewAsync(GetPaidOrganicSearchTermViewRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetPaidOrganicSearchTermViewRequest(ref request, ref callSettings);
     return(_callGetPaidOrganicSearchTermView.Async(request, callSettings));
 }
 /// <summary>
 /// Returns the requested shared set in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::SharedSet> GetSharedSetAsync(GetSharedSetRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetSharedSetRequest(ref request, ref callSettings);
     return(_callGetSharedSet.Async(request, callSettings));
 }
Ejemplo n.º 22
0
 /// <summary>
 /// Deletes a TagBinding.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override async stt::Task <lro::Operation <wkt::Empty, DeleteTagBindingMetadata> > DeleteTagBindingAsync(DeleteTagBindingRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_DeleteTagBindingRequest(ref request, ref callSettings);
     return(new lro::Operation <wkt::Empty, DeleteTagBindingMetadata>(await _callDeleteTagBinding.Async(request, callSettings).ConfigureAwait(false), DeleteTagBindingOperationsClient));
 }
Ejemplo n.º 23
0
 /// <summary>
 /// Returns Merchant Center links available for this customer.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <ListMerchantCenterLinksResponse> ListMerchantCenterLinksAsync(ListMerchantCenterLinksRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_ListMerchantCenterLinksRequest(ref request, ref callSettings);
     return(_callListMerchantCenterLinks.Async(request, callSettings));
 }
Ejemplo n.º 24
0
 /// <summary>
 /// Replace the data for the specified group.
 /// Fails if the group does not exist.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <ErrorGroup> UpdateGroupAsync(UpdateGroupRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_UpdateGroupRequest(ref request, ref callSettings);
     return(_callUpdateGroup.Async(request, callSettings));
 }
Ejemplo n.º 25
0
 /// <summary>
 /// Updates status or removes a Merchant Center link.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <MutateMerchantCenterLinkResponse> MutateMerchantCenterLinkAsync(MutateMerchantCenterLinkRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_MutateMerchantCenterLinkRequest(ref request, ref callSettings);
     return(_callMutateMerchantCenterLink.Async(request, callSettings));
 }
Ejemplo n.º 26
0
 /// <summary>
 /// Processes a natural language query and returns structured, actionable data
 /// as a result. This method is not idempotent, because it may cause contexts
 /// and session entity types to be updated, which in turn might affect
 /// results of future queries.
 ///
 /// Note: Always use agent versions for production traffic.
 /// See [Versions and
 /// environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <DetectIntentResponse> DetectIntentAsync(DetectIntentRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_DetectIntentRequest(ref request, ref callSettings);
     return(_callDetectIntent.Async(request, callSettings));
 }
 /// <summary>
 /// Returns the requested mobile device constant in full detail.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::MobileDeviceConstant> GetMobileDeviceConstantAsync(GetMobileDeviceConstantRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetMobileDeviceConstantRequest(ref request, ref callSettings);
     return(_callGetMobileDeviceConstant.Async(request, callSettings));
 }
Ejemplo n.º 28
0
 /// <summary>
 /// Returns the requested media file in full detail.
 ///
 /// List of thrown errors:
 /// [AuthenticationError]()
 /// [AuthorizationError]()
 /// [HeaderError]()
 /// [InternalError]()
 /// [QuotaError]()
 /// [RequestError]()
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <gagvr::MediaFile> GetMediaFileAsync(GetMediaFileRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GetMediaFileRequest(ref request, ref callSettings);
     return(_callGetMediaFile.Async(request, callSettings));
 }
Ejemplo n.º 29
0
 /// <summary>
 /// Returns a list of keyword ideas.
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override stt::Task <GenerateKeywordIdeaResponse> GenerateKeywordIdeasAsync(GenerateKeywordIdeasRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_GenerateKeywordIdeasRequest(ref request, ref callSettings);
     return(_callGenerateKeywordIdeas.Async(request, callSettings));
 }
Ejemplo n.º 30
0
 /// <summary>
 /// Performs asynchronous speech recognition: receive results via the
 /// google.longrunning.Operations interface. Returns either an
 /// `Operation.error` or an `Operation.response` which contains
 /// a `LongRunningRecognizeResponse` message.
 /// For more information on asynchronous speech recognition, see the
 /// [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
 /// </summary>
 /// <param name="request">The request object containing all of the parameters for the API call.</param>
 /// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
 /// <returns>A Task containing the RPC response.</returns>
 public override async stt::Task <lro::Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata> > LongRunningRecognizeAsync(LongRunningRecognizeRequest request, gaxgrpc::CallSettings callSettings = null)
 {
     Modify_LongRunningRecognizeRequest(ref request, ref callSettings);
     return(new lro::Operation <LongRunningRecognizeResponse, LongRunningRecognizeMetadata>(await _callLongRunningRecognize.Async(request, callSettings).ConfigureAwait(false), LongRunningRecognizeOperationsClient));
 }