/// <summary> /// Returns the requested detailed demographic in full detail. /// </summary> /// <param name="resourceName"> /// Required. Resource name of the DetailedDemographic to fetch. /// </param> /// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <gagvr::DetailedDemographic> GetDetailedDemographicAsync(gagvr::DetailedDemographicName resourceName, st::CancellationToken cancellationToken) => GetDetailedDemographicAsync(resourceName, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Returns the requested detailed demographic in full detail. /// </summary> /// <param name="resourceName"> /// Required. Resource name of the DetailedDemographic to fetch. /// </param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <gagvr::DetailedDemographic> GetDetailedDemographicAsync(gagvr::DetailedDemographicName resourceName, gaxgrpc::CallSettings callSettings = null) => GetDetailedDemographicAsync(new GetDetailedDemographicRequest { ResourceNameAsDetailedDemographicName = gax::GaxPreconditions.CheckNotNull(resourceName, nameof(resourceName)), }, callSettings);