/// <summary> /// Batch gets assets update history that overlaps a time window. /// For RESOURCE content, this API outputs history with asset in both /// non-delete or deleted status. /// For IAM_POLICY content, this API only outputs history when asset and its /// attached IAM POLICY both exist. So there may be gaps in the output history. /// </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> /// The RPC response. /// </returns> public override BatchGetAssetsHistoryResponse BatchGetAssetsHistory( BatchGetAssetsHistoryRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_BatchGetAssetsHistoryRequest(ref request, ref callSettings); return(_callBatchGetAssetsHistory.Sync(request, callSettings)); }
/// <summary> /// Batch gets assets update history that overlaps a time window. /// For RESOURCE content, this API outputs history with asset in both /// non-delete or deleted status. /// For IAM_POLICY content, this API only outputs history when asset and its /// attached IAM POLICY both exist. So there may be gaps in the output history. /// </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> /// The RPC response. /// </returns> public virtual BatchGetAssetsHistoryResponse BatchGetAssetsHistory( BatchGetAssetsHistoryRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); }
partial void Modify_BatchGetAssetsHistoryRequest(ref BatchGetAssetsHistoryRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Batch gets assets update history that overlaps a time window. /// For RESOURCE content, this API outputs history with asset in both /// non-delete or deleted status. /// For IAM_POLICY content, this API only outputs history when asset and its /// attached IAM POLICY both exist. So there may be gaps in the output history. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </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 <BatchGetAssetsHistoryResponse> BatchGetAssetsHistoryAsync( BatchGetAssetsHistoryRequest request, st::CancellationToken cancellationToken) => BatchGetAssetsHistoryAsync( request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));